MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-all --no-inform-inferred-types --no-inform-inferred-modes '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/scripts/mmc --make --options-file - inference_test_2.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/typeclasses' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/typeclasses' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --infer-all --no-inform-inferred-types --no-inform-inferred-modes '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/scripts/mmc --make --options-file - inference_test_2 Making Mercury/int3s/inference_test_2.int3 Making Mercury/ints/inference_test_2.int Making Mercury/javas/jmercury/inference_test_2.java Making Java class files Mercury/javas/jmercury/inference_test_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] inference_test_2__type_class_id_method_ids_foo_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/inference_test_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId inference_test_2__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/inference_test_2.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct inference_test_2__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/inference_test_2.java:179: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/inference_test_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "inference_test_2"; ^ Mercury/javas/jmercury/inference_test_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/inference_test_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/inference_test_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class inference_test_2 Mercury/javas/jmercury/inference_test_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class inference_test_2 Mercury/javas/jmercury/inference_test_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/inference_test_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class inference_test_2 Mercury/javas/jmercury/inference_test_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class inference_test_2 Mercury/javas/jmercury/inference_test_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class inference_test_2 Mercury/javas/jmercury/inference_test_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class inference_test_2 Mercury/javas/jmercury/inference_test_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/inference_test_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] inference_test_2__type_class_id_method_ids_foo_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/inference_test_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId inference_test_2__type_class_id_foo_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/inference_test_2.java:36: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct inference_test_2__type_class_decl_foo_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/inference_test_2.java:55: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/inference_test_2.java:58: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class inference_test_2 Mercury/javas/jmercury/inference_test_2.java:88: 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 inference_test_2 Mercury/javas/jmercury/inference_test_2.java:88: 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/inference_test_2.java:133: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_9)[0])[5]); ^ Mercury/javas/jmercury/inference_test_2.java:133: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_9)[0])[5]); ^ Mercury/javas/jmercury/inference_test_2.java:137: error: package jmercury.runtime does not exist conv1_Var_13 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_foo_9))), ((java.lang.Object) (java.lang.Integer.valueOf(X_6))))); ^ Mercury/javas/jmercury/inference_test_2.java:143: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/inference_test_2.java:143: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class inference_test_2 Mercury/javas/jmercury/inference_test_2.java:143: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/inference_test_2.java:147: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_11_10, ((java.lang.Object) (Var_7))); ^ symbol: variable io location: class inference_test_2 Mercury/javas/jmercury/inference_test_2.java:152: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/inference_test_2.java:152: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class inference_test_2 Mercury/javas/jmercury/inference_test_2.java:152: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/inference_test_2.java:156: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_12_11, ((java.lang.Object) (Var_8))); ^ symbol: variable io location: class inference_test_2 Mercury/javas/jmercury/inference_test_2.java:167: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_3)[0])[5]); ^ Mercury/javas/jmercury/inference_test_2.java:167: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_foo_3)[0])[5]); ^ Mercury/javas/jmercury/inference_test_2.java:171: error: package jmercury.runtime does not exist conv1_HeadVar__2_2 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_foo_3))), ((java.lang.Object) (HeadVar__1_1)))); ^ 36 errors gmake[3]: *** [/tmp/mmake.KlhMvu:1241: inference_test_2] Error 1 gmake[3]: Target 'inference_test_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/typeclasses'