MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - complicated_fundeps.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/typeclasses' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - complicated_fundeps Making Mercury/int3s/complicated_fundeps.int3 Making Mercury/ints/complicated_fundeps.int Making Mercury/javas/jmercury/complicated_fundeps.java Making Java class files Mercury/javas/jmercury/complicated_fundeps.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] complicated_fundeps__type_class_id_method_ids_b_2 = new jmercury.runtime.TypeClassMethod[2]; ^ Mercury/javas/jmercury/complicated_fundeps.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId complicated_fundeps__type_class_id_b_2 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/complicated_fundeps.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct complicated_fundeps__type_class_decl_b_2 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/complicated_fundeps.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] complicated_fundeps__type_class_id_method_ids_a_4 = new jmercury.runtime.TypeClassMethod[2]; ^ Mercury/javas/jmercury/complicated_fundeps.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId complicated_fundeps__type_class_id_a_4 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/complicated_fundeps.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct complicated_fundeps__type_class_decl_a_4 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/complicated_fundeps.java:506: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/complicated_fundeps.java:524: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/complicated_fundeps.java:575: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/complicated_fundeps.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "complicated_fundeps"; ^ Mercury/javas/jmercury/complicated_fundeps.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/complicated_fundeps.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/complicated_fundeps.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/complicated_fundeps.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/complicated_fundeps.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] complicated_fundeps__type_class_id_method_ids_b_2 = new jmercury.runtime.TypeClassMethod[2]; ^ Mercury/javas/jmercury/complicated_fundeps.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId complicated_fundeps__type_class_id_b_2 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/complicated_fundeps.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct complicated_fundeps__type_class_decl_b_2 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/complicated_fundeps.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] complicated_fundeps__type_class_id_method_ids_a_4 = new jmercury.runtime.TypeClassMethod[2]; ^ Mercury/javas/jmercury/complicated_fundeps.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId complicated_fundeps__type_class_id_a_4 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/complicated_fundeps.java:42: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct complicated_fundeps__type_class_decl_a_4 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/complicated_fundeps.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/complicated_fundeps.java:96: error: cannot find symbol private_builtin.MR_FUNCTION ^ symbol: variable private_builtin location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:99: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/complicated_fundeps.java:102: error: cannot find symbol private_builtin.MR_FUNCTION ^ symbol: variable private_builtin location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:128: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/complicated_fundeps.java:131: error: cannot find symbol private_builtin.MR_FUNCTION ^ symbol: variable private_builtin location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:134: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/complicated_fundeps.java:137: error: cannot find symbol private_builtin.MR_FUNCTION ^ symbol: variable private_builtin location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:167: 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 complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:167: 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/complicated_fundeps.java:168: 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 complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:168: 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/complicated_fundeps.java:169: 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 complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:169: 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/complicated_fundeps.java:170: 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 complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:170: 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/complicated_fundeps.java:175: 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 complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:175: 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/complicated_fundeps.java:176: 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 complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:176: 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/complicated_fundeps.java:200: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:213: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:221: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:226: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:239: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:247: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:259: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_9_9 = null; ^ Mercury/javas/jmercury/complicated_fundeps.java:264: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_a_5)[0])[6]); ^ Mercury/javas/jmercury/complicated_fundeps.java:264: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_a_5)[0])[6]); ^ Mercury/javas/jmercury/complicated_fundeps.java:265: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = null; ^ Mercury/javas/jmercury/complicated_fundeps.java:266: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = null; ^ Mercury/javas/jmercury/complicated_fundeps.java:269: error: package jmercury.runtime does not exist C_3 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_a_5))), ((java.lang.Object) (A_2)))); ^ Mercury/javas/jmercury/complicated_fundeps.java:271: error: package jmercury.runtime does not exist func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_b_6)[0])[5]); ^ Mercury/javas/jmercury/complicated_fundeps.java:273: error: package jmercury.runtime does not exist B_4 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_1).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_b_6))), ((java.lang.Object) (C_3)))); ^ Mercury/javas/jmercury/complicated_fundeps.java:275: error: package jmercury.runtime does not exist func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_a_5)[0])[5]); ^ Mercury/javas/jmercury/complicated_fundeps.java:277: error: package jmercury.runtime does not exist Var_7 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_a_5))), ((java.lang.Object) (A_2)), ((java.lang.Object) (C_3)))); ^ Mercury/javas/jmercury/complicated_fundeps.java:281: error: cannot find symbol TypeInfo_9_9 = private_builtin.type_info_from_typeclass_info_3_p_0(TypeClassInfo_for_a_5, TypeInfoIndex_8); ^ symbol: variable private_builtin location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:284: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_9_9, B_4, Var_7); ^ symbol: variable builtin location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:350: error: cannot find symbol Var_7 = string.length_1_f_0(S_5); ^ symbol: variable string location: class complicated_fundeps Mercury/javas/jmercury/complicated_fundeps.java:455: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_a_4)[0])[5]); ^ Mercury/javas/jmercury/complicated_fundeps.java:455: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_a_4)[0])[5]); ^ Mercury/javas/jmercury/complicated_fundeps.java:458: error: package jmercury.runtime does not exist HeadVar__3_3 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_a_4))), ((java.lang.Object) (HeadVar__1_1)), ((java.lang.Object) (HeadVar__2_2)))); ^ Mercury/javas/jmercury/complicated_fundeps.java:469: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_a_3)[0])[6]); ^ Mercury/javas/jmercury/complicated_fundeps.java:469: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_a_3)[0])[6]); ^ Mercury/javas/jmercury/complicated_fundeps.java:472: error: package jmercury.runtime does not exist HeadVar__2_2 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_a_3))), ((java.lang.Object) (HeadVar__1_1)))); ^ Mercury/javas/jmercury/complicated_fundeps.java:483: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_b_3)[0])[5]); ^ Mercury/javas/jmercury/complicated_fundeps.java:483: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_b_3)[0])[5]); ^ Mercury/javas/jmercury/complicated_fundeps.java:486: error: package jmercury.runtime does not exist HeadVar__2_2 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_b_3))), ((java.lang.Object) (HeadVar__1_1)))); ^ Mercury/javas/jmercury/complicated_fundeps.java:496: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_b_2)[0])[6]); ^ Mercury/javas/jmercury/complicated_fundeps.java:496: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_b_2)[0])[6]); ^ Mercury/javas/jmercury/complicated_fundeps.java:499: error: package jmercury.runtime does not exist HeadVar__1_1 = ((java.lang.Object) ((jmercury.runtime.MethodPtr1) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_b_2))))); ^ Mercury/javas/jmercury/complicated_fundeps.java:562: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/complicated_fundeps.java:605: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 79 errors make[3]: *** [/tmp/mmake.4G4TLI:1244: complicated_fundeps] Error 1 make[3]: Target 'complicated_fundeps.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/typeclasses'