MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-08-18/stage2/scripts/mmc --make --options-file - implied_instance.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/typeclasses' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-08-18/stage2/scripts/mmc --make --options-file - implied_instance Making Mercury/int3s/implied_instance.int3 Making Mercury/ints/implied_instance.int Making Mercury/javas/jmercury/implied_instance.java Making Java class files Mercury/javas/jmercury/implied_instance.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] implied_instance__type_class_id_method_ids_printable_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/implied_instance.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId implied_instance__type_class_id_printable_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/implied_instance.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct implied_instance__type_class_decl_printable_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/implied_instance.java:96: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/implied_instance.java:97: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/implied_instance.java:98: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/implied_instance.java:179: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/implied_instance.java:254: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/implied_instance.java:297: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/implied_instance.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "implied_instance"; ^ Mercury/javas/jmercury/implied_instance.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/implied_instance.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/implied_instance.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class implied_instance Mercury/javas/jmercury/implied_instance.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class implied_instance Mercury/javas/jmercury/implied_instance.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/implied_instance.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class implied_instance Mercury/javas/jmercury/implied_instance.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class implied_instance Mercury/javas/jmercury/implied_instance.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class implied_instance Mercury/javas/jmercury/implied_instance.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class implied_instance Mercury/javas/jmercury/implied_instance.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/implied_instance.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] implied_instance__type_class_id_method_ids_printable_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/implied_instance.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId implied_instance__type_class_id_printable_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/implied_instance.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct implied_instance__type_class_decl_printable_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/implied_instance.java:68: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/implied_instance.java:71: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class implied_instance Mercury/javas/jmercury/implied_instance.java:96: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/implied_instance.java:97: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/implied_instance.java:98: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[5]; ^ Mercury/javas/jmercury/implied_instance.java:104: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class implied_instance Mercury/javas/jmercury/implied_instance.java:104: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/implied_instance.java:107: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/implied_instance.java:108: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class implied_instance Mercury/javas/jmercury/implied_instance.java:108: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/implied_instance.java:109: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class implied_instance Mercury/javas/jmercury/implied_instance.java:109: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/implied_instance.java:115: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(implied_instance.MR_scalar_common_2[0]))) ^ Mercury/javas/jmercury/implied_instance.java:118: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/implied_instance.java:120: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/implied_instance.java:122: error: package list does not exist (list.List_1) implied_instance.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/implied_instance.java:125: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/implied_instance.java:127: error: package list does not exist (list.List_1) implied_instance.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/implied_instance.java:130: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/implied_instance.java:132: error: package list does not exist (list.List_1) implied_instance.MR_scalar_common_4[1] ^ Mercury/javas/jmercury/implied_instance.java:135: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/implied_instance.java:137: error: package list does not exist (list.List_1) implied_instance.MR_scalar_common_4[2] ^ Mercury/javas/jmercury/implied_instance.java:140: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/implied_instance.java:142: error: package list does not exist (list.List_1) implied_instance.MR_scalar_common_4[3] ^ Mercury/javas/jmercury/implied_instance.java:157: error: cannot find symbol io.write_int_3_p_0(HeadVar__1_1); ^ symbol: variable io location: class implied_instance Mercury/javas/jmercury/implied_instance.java:186: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class implied_instance Mercury/javas/jmercury/implied_instance.java:195: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class implied_instance Mercury/javas/jmercury/implied_instance.java:202: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class implied_instance Mercury/javas/jmercury/implied_instance.java:217: error: package list does not exist implied_instance.ClassMethod_for_implied_instance__printable____list__list__arity1______implied_instance__p_3_3_p_0(((/* typeclass_info */ java.lang.Object[]) ((java.lang.Object[]) closure)[1]), ((list.List_1) wrapper_arg_1)); ^ Mercury/javas/jmercury/implied_instance.java:228: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/implied_instance.java:229: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_printable_21)[0])[5]); ^ Mercury/javas/jmercury/implied_instance.java:229: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_printable_21)[0])[5]); ^ Mercury/javas/jmercury/implied_instance.java:231: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = null; ^ Mercury/javas/jmercury/implied_instance.java:235: error: package jmercury.runtime does not exist conv1_STATE_VARIABLE_IO_7_7 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_printable_21))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_6))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/implied_instance.java:238: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class implied_instance Mercury/javas/jmercury/implied_instance.java:240: error: package list does not exist Var_9 = (list.List_1) implied_instance.MR_scalar_common_4[4]; ^ Mercury/javas/jmercury/implied_instance.java:242: error: package jmercury.runtime does not exist func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_printable_22)[0])[5]); ^ Mercury/javas/jmercury/implied_instance.java:244: error: package jmercury.runtime does not exist conv3_STATE_VARIABLE_IO_10_10 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_printable_22))), ((java.lang.Object) (((java.lang.Object) (Var_9)))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/implied_instance.java:247: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class implied_instance Mercury/javas/jmercury/implied_instance.java:261: error: package list.List_1 does not exist java.lang.Object X_7 = ((list.List_1.F_cons_2) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/implied_instance.java:262: error: package list does not exist list.List_1 Xs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/implied_instance.java:262: error: package list.List_1 does not exist list.List_1 Xs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/implied_instance.java:263: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_printable_14)[0])[5]); ^ Mercury/javas/jmercury/implied_instance.java:263: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_printable_14)[0])[5]); ^ Mercury/javas/jmercury/implied_instance.java:265: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/implied_instance.java:268: error: package jmercury.runtime does not exist conv1_STATE_VARIABLE_IO_12_12 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_printable_14))), ((java.lang.Object) (X_7)), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/implied_instance.java:271: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class implied_instance Mercury/javas/jmercury/implied_instance.java:287: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_printable_4)[0])[5]); ^ Mercury/javas/jmercury/implied_instance.java:287: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_printable_4)[0])[5]); ^ Mercury/javas/jmercury/implied_instance.java:291: error: package jmercury.runtime does not exist conv1_HeadVar__3_3 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_printable_4))), ((java.lang.Object) (HeadVar__1_1)), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/implied_instance.java:327: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 74 errors make[3]: *** [/tmp/mmake.7edo1e:1244: implied_instance] Error 1 make[3]: Target 'implied_instance.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/typeclasses'