MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/stage2/runtime/mer_rt.init '; echo MLLIBS += ' '; echo MLOBJS += ' '; echo LDFLAGS += ' '; echo LD_LIBFLAGS += ' '; echo EXTRA_LIBRARIES += ''; echo EXTRA_LIB_DIRS += ''; echo LIBGRADES = 'hlc.gc '; echo INSTALL_PREFIX = '/mnt/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/stage2/scripts/mmc --make --options-file - intermod_typeclass_bug.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/tests/typeclasses' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/stage2/runtime/mer_rt.init '; echo MLLIBS += ' '; echo MLOBJS += ' '; echo LDFLAGS += ' '; echo LD_LIBFLAGS += ' '; echo EXTRA_LIBRARIES += ''; echo EXTRA_LIB_DIRS += ''; echo LIBGRADES = 'hlc.gc '; echo INSTALL_PREFIX = '/mnt/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/stage2/scripts/mmc --make --options-file - intermod_typeclass_bug Making Mercury/int3s/intermod_typeclass_bug.int3 Making Mercury/int3s/intermod_typeclass_bug_helper_1.int3 Making Mercury/ints/intermod_typeclass_bug_helper_1.int Making Mercury/ints/intermod_typeclass_bug.int Making Mercury/opts/intermod_typeclass_bug_helper_1.opt Making Mercury/opts/intermod_typeclass_bug.opt Making Mercury/javas/jmercury/intermod_typeclass_bug.java Making Mercury/javas/jmercury/intermod_typeclass_bug_helper_1.java Making Java class files Mercury/javas/jmercury/intermod_typeclass_bug_helper_1.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] intermod_typeclass_bug_helper_1__type_class_id_method_ids_c_1 = new jmercury.runtime.TypeClassMethod[4]; ^ Mercury/javas/jmercury/intermod_typeclass_bug_helper_1.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId intermod_typeclass_bug_helper_1__type_class_id_c_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/intermod_typeclass_bug_helper_1.java:19: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct intermod_typeclass_bug_helper_1__type_class_decl_c_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/intermod_typeclass_bug_helper_1.java:529: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "intermod_typeclass_bug"; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ symbol: variable builtin location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:42: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:43: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:43: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:44: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:44: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:48: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:50: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:50: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:51: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:51: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:55: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:57: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:57: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:76: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_c_36)[0])[5]); ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:76: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_c_36)[0])[5]); ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:83: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:89: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_4 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:93: error: package jmercury.runtime does not exist conv1_Int1_4 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_c_36))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_11))))); ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:113: error: package io does not exist io.Text_output_stream_0 Var_39 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:114: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_41 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:115: error: package io does not exist io.Text_output_stream_0 Var_42 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:116: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_44 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:118: error: package io does not exist io.Text_output_stream_0 Var_46 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:119: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_48 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:122: error: cannot find symbol Var_41 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:125: error: package io does not exist Var_39 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:130: error: cannot find symbol io.write_string_4_p_0(Var_39, Var_12); ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:133: error: cannot find symbol Var_44 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:136: error: package io does not exist Var_42 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:141: error: cannot find symbol io.write_char_4_p_0(Var_42, Char1_5); ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:145: error: cannot find symbol Var_48 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:148: error: package io does not exist Var_46 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:153: error: cannot find symbol io.write_char_4_p_0(Var_46, Var_45); ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:159: error: package io does not exist io.Text_output_stream_0 Var_49 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:160: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_51 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:161: error: package io does not exist io.Text_output_stream_0 Var_52 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:162: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_54 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:164: error: package io does not exist io.Text_output_stream_0 Var_56 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:165: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_58 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:168: error: cannot find symbol Var_51 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:171: error: package io does not exist Var_49 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:176: error: cannot find symbol io.write_string_4_p_0(Var_49, Var_16); ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:179: error: cannot find symbol Var_54 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:182: error: package io does not exist Var_52 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:187: error: cannot find symbol io.write_int_4_p_0(Var_52, Int1_4); ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:191: error: cannot find symbol Var_58 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:194: error: package io does not exist Var_56 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:199: error: cannot find symbol io.write_char_4_p_0(Var_56, Var_55); ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:215: error: package jmercury.runtime does not exist func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_c_37)[0])[6]); ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:217: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr2) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_c_37))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_20))))); ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:229: error: package io does not exist io.Text_output_stream_0 Var_59 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:230: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_61 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:231: error: package io does not exist io.Text_output_stream_0 Var_62 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:232: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_64 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:234: error: package io does not exist io.Text_output_stream_0 Var_66 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:235: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_68 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:238: error: cannot find symbol Var_61 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:241: error: package io does not exist Var_59 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:246: error: cannot find symbol io.write_string_4_p_0(Var_59, Var_22); ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:249: error: cannot find symbol Var_64 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:252: error: package io does not exist Var_62 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:257: error: cannot find symbol io.write_char_4_p_0(Var_62, Char2_6); ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:261: error: cannot find symbol Var_68 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:264: error: package io does not exist Var_66 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:269: error: cannot find symbol io.write_char_4_p_0(Var_66, Var_65); ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:275: error: package io does not exist io.Text_output_stream_0 Var_69 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:276: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_71 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:278: error: package io does not exist io.Text_output_stream_0 Var_73 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:279: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_75 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:282: error: cannot find symbol Var_71 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:285: error: package io does not exist Var_69 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:290: error: cannot find symbol io.write_string_4_p_0(Var_69, Var_26); ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:294: error: cannot find symbol Var_75 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:297: error: package io does not exist Var_73 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:302: error: cannot find symbol io.write_char_4_p_0(Var_73, Var_72); ^ symbol: variable io location: class intermod_typeclass_bug Mercury/javas/jmercury/intermod_typeclass_bug.java:307: error: package jmercury.runtime does not exist func_4 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_c_38)[0])[7]); ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:309: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr2) func_4).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_c_38))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_29))))); ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:338: error: package io does not exist io.Text_output_stream_0 Var_76 = null; ^ Mercury/javas/jmercury/intermod_typeclass_bug.java:339: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_78 = null; ^ 100 errors make[3]: *** [/tmp/mmake.KWs0Oc:1241: intermod_typeclass_bug] Error 1 make[3]: Target 'intermod_typeclass_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/tests/typeclasses'