MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/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-11-12/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/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-11-12/stage2/scripts/mmc --make --options-file - implied_instance_poly.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/tests/typeclasses' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/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-11-12/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/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-11-12/stage2/scripts/mmc --make --options-file - implied_instance_poly Making Mercury/int3s/implied_instance_poly.int3 Making Mercury/ints/implied_instance_poly.int Making Mercury/javas/jmercury/implied_instance_poly.java Making Java class files Mercury/javas/jmercury/implied_instance_poly.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] implied_instance_poly__type_class_id_method_ids_f_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/implied_instance_poly.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId implied_instance_poly__type_class_id_f_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/implied_instance_poly.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct implied_instance_poly__type_class_decl_f_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/implied_instance_poly.java:96: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/implied_instance_poly.java:97: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/implied_instance_poly.java:174: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/implied_instance_poly.java:282: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/implied_instance_poly.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "implied_instance_poly"; ^ Mercury/javas/jmercury/implied_instance_poly.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/implied_instance_poly.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/implied_instance_poly.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class implied_instance_poly Mercury/javas/jmercury/implied_instance_poly.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class implied_instance_poly Mercury/javas/jmercury/implied_instance_poly.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/implied_instance_poly.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_poly Mercury/javas/jmercury/implied_instance_poly.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_poly Mercury/javas/jmercury/implied_instance_poly.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_poly Mercury/javas/jmercury/implied_instance_poly.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_poly Mercury/javas/jmercury/implied_instance_poly.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/implied_instance_poly.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] implied_instance_poly__type_class_id_method_ids_f_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/implied_instance_poly.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId implied_instance_poly__type_class_id_f_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/implied_instance_poly.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct implied_instance_poly__type_class_decl_f_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/implied_instance_poly.java:68: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/implied_instance_poly.java:71: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class implied_instance_poly Mercury/javas/jmercury/implied_instance_poly.java:96: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/implied_instance_poly.java:97: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/implied_instance_poly.java:105: 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_poly Mercury/javas/jmercury/implied_instance_poly.java:105: 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_poly.java:108: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/implied_instance_poly.java:110: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/implied_instance_poly.java:112: error: package list does not exist (list.List_1) implied_instance_poly.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/implied_instance_poly.java:115: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/implied_instance_poly.java:117: error: package list does not exist (list.List_1) implied_instance_poly.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/implied_instance_poly.java:120: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/implied_instance_poly.java:122: error: package list does not exist (list.List_1) implied_instance_poly.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/implied_instance_poly.java:134: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ symbol: variable private_builtin location: class implied_instance_poly Mercury/javas/jmercury/implied_instance_poly.java:134: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ Mercury/javas/jmercury/implied_instance_poly.java:136: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class implied_instance_poly Mercury/javas/jmercury/implied_instance_poly.java:136: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/implied_instance_poly.java:137: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class implied_instance_poly Mercury/javas/jmercury/implied_instance_poly.java:137: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/implied_instance_poly.java:152: error: cannot find symbol io.write_int_3_p_0(HeadVar__1_1); ^ symbol: variable io location: class implied_instance_poly Mercury/javas/jmercury/implied_instance_poly.java:176: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_15_8 = null; ^ Mercury/javas/jmercury/implied_instance_poly.java:191: error: cannot find symbol TypeInfo_15_8 = private_builtin.type_info_from_typeclass_info_3_p_0(TypeClassInfo_for_f_4, PolyConst1_7); ^ symbol: variable private_builtin location: class implied_instance_poly Mercury/javas/jmercury/implied_instance_poly.java:194: error: cannot find symbol io.write_list_5_p_0(TypeInfo_15_8, HeadVar__1_1, Var_5, Var_6); ^ symbol: variable io location: class implied_instance_poly Mercury/javas/jmercury/implied_instance_poly.java:223: error: package list does not exist implied_instance_poly.ClassMethod_for_implied_instance_poly__f____list__list__arity1______implied_instance_poly__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_poly.java:232: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_15_14 = null; ^ Mercury/javas/jmercury/implied_instance_poly.java:233: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ Mercury/javas/jmercury/implied_instance_poly.java:233: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ symbol: variable list location: class implied_instance_poly Mercury/javas/jmercury/implied_instance_poly.java:233: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1); ^ Mercury/javas/jmercury/implied_instance_poly.java:234: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_17_16 = null; ^ Mercury/javas/jmercury/implied_instance_poly.java:237: error: package list does not exist list.List_1 Var_9 = (list.List_1) implied_instance_poly.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/implied_instance_poly.java:237: error: package list does not exist list.List_1 Var_9 = (list.List_1) implied_instance_poly.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/implied_instance_poly.java:239: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/implied_instance_poly.java:243: error: cannot find symbol TypeInfo_15_14 = private_builtin.type_info_from_typeclass_info_3_p_0(TypeClassInfo_for_f_8, PolyConst1_13); ^ symbol: variable private_builtin location: class implied_instance_poly Mercury/javas/jmercury/implied_instance_poly.java:246: error: package jmercury.runtime does not exist TypeInfo_17_16 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/implied_instance_poly.java:258: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_f_18)[0])[5]); ^ Mercury/javas/jmercury/implied_instance_poly.java:260: 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_f_18))), ((java.lang.Object) (((java.lang.Object) (Var_9)))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/implied_instance_poly.java:263: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class implied_instance_poly Mercury/javas/jmercury/implied_instance_poly.java:272: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_f_4)[0])[5]); ^ Mercury/javas/jmercury/implied_instance_poly.java:272: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_f_4)[0])[5]); ^ Mercury/javas/jmercury/implied_instance_poly.java:276: 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_f_4))), ((java.lang.Object) (HeadVar__1_1)), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/implied_instance_poly.java:321: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 62 errors make[3]: *** [/tmp/mmake.gmz1Uw:1241: implied_instance_poly] Error 1 make[3]: Target 'implied_instance_poly.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/tests/typeclasses'