MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/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-10-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/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-02/stage2/scripts/mmc --make --options-file - extract_typeinfo.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/typeclasses' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/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-10-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/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-02/stage2/scripts/mmc --make --options-file - extract_typeinfo Making Mercury/int3s/extract_typeinfo.int3 Making Mercury/ints/extract_typeinfo.int Making Mercury/javas/jmercury/extract_typeinfo.java Making Java class files Mercury/javas/jmercury/extract_typeinfo.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] extract_typeinfo__type_class_id_method_ids_foo_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/extract_typeinfo.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId extract_typeinfo__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/extract_typeinfo.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct extract_typeinfo__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/extract_typeinfo.java:83: 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/extract_typeinfo.java:84: 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[2]; ^ Mercury/javas/jmercury/extract_typeinfo.java:182: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/extract_typeinfo.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "extract_typeinfo"; ^ Mercury/javas/jmercury/extract_typeinfo.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/extract_typeinfo.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/extract_typeinfo.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class extract_typeinfo Mercury/javas/jmercury/extract_typeinfo.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class extract_typeinfo Mercury/javas/jmercury/extract_typeinfo.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/extract_typeinfo.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class extract_typeinfo Mercury/javas/jmercury/extract_typeinfo.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class extract_typeinfo Mercury/javas/jmercury/extract_typeinfo.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class extract_typeinfo Mercury/javas/jmercury/extract_typeinfo.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class extract_typeinfo Mercury/javas/jmercury/extract_typeinfo.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/extract_typeinfo.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] extract_typeinfo__type_class_id_method_ids_foo_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/extract_typeinfo.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId extract_typeinfo__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/extract_typeinfo.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct extract_typeinfo__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/extract_typeinfo.java:55: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/extract_typeinfo.java:58: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class extract_typeinfo Mercury/javas/jmercury/extract_typeinfo.java:83: 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/extract_typeinfo.java:84: 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[2]; ^ Mercury/javas/jmercury/extract_typeinfo.java:90: 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 extract_typeinfo Mercury/javas/jmercury/extract_typeinfo.java:90: 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/extract_typeinfo.java:93: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/extract_typeinfo.java:95: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extract_typeinfo.java:97: error: package list does not exist (list.List_1) extract_typeinfo.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/extract_typeinfo.java:100: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/extract_typeinfo.java:102: error: package list does not exist (list.List_1) extract_typeinfo.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/extract_typeinfo.java:117: error: cannot find symbol io.write_int_3_p_0(HeadVar__1_1); ^ symbol: variable io location: class extract_typeinfo Mercury/javas/jmercury/extract_typeinfo.java:142: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_17_17 = null; ^ Mercury/javas/jmercury/extract_typeinfo.java:143: error: package list does not exist list.List_1 Var_9 = (list.List_1) extract_typeinfo.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/extract_typeinfo.java:143: error: package list does not exist list.List_1 Var_9 = (list.List_1) extract_typeinfo.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/extract_typeinfo.java:144: error: package list does not exist list.List_1 Var_11 = (list.List_1) extract_typeinfo.MR_scalar_common_3[1]; ^ Mercury/javas/jmercury/extract_typeinfo.java:144: error: package list does not exist list.List_1 Var_11 = (list.List_1) extract_typeinfo.MR_scalar_common_3[1]; ^ Mercury/javas/jmercury/extract_typeinfo.java:148: error: cannot find symbol TypeInfo_17_17 = private_builtin.type_info_from_typeclass_info_3_p_0(TypeClassInfo_for_foo_8, PolyConst1_16); ^ symbol: variable private_builtin location: class extract_typeinfo Mercury/javas/jmercury/extract_typeinfo.java:151: error: cannot find symbol succeeded = list.append_3_p_2(TypeInfo_17_17, Var_9, Var_9, Var_11); ^ symbol: variable list location: class extract_typeinfo Mercury/javas/jmercury/extract_typeinfo.java:155: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_8)[0])[5]); ^ Mercury/javas/jmercury/extract_typeinfo.java:155: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_8)[0])[5]); ^ Mercury/javas/jmercury/extract_typeinfo.java:159: 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_foo_8))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_6))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/extract_typeinfo.java:163: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class extract_typeinfo Mercury/javas/jmercury/extract_typeinfo.java:172: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_4)[0])[5]); ^ Mercury/javas/jmercury/extract_typeinfo.java:172: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_4)[0])[5]); ^ Mercury/javas/jmercury/extract_typeinfo.java:176: 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_foo_4))), ((java.lang.Object) (HeadVar__1_1)), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ 46 errors make[3]: *** [/tmp/mmake.Idoivb:1246: extract_typeinfo] Error 1 make[3]: Target 'extract_typeinfo.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/typeclasses'