MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/recompilation' ./two_module_test: 8: ulimit: error setting limit (Operation not permitted) executing shell function test_module combined_type_mode_nr combined_type_mode_nr_2 Testing combined_type_mode_nr make[4]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/recompilation' { 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 --color-diagnostics --use-subdirs --no-intermodule-optimization --smart-recompilation --find-all-recompilation-reasons '; 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 - combined_type_mode_nr.depend make[4]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/recompilation' make[4]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/recompilation' { 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 --color-diagnostics --use-subdirs --no-intermodule-optimization --smart-recompilation --find-all-recompilation-reasons '; 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 - combined_type_mode_nr Warning: smart recompilation does not yet work with `--no-target-code-only'. Making Mercury/int3s/combined_type_mode_nr.int3 Making Mercury/int3s/combined_type_mode_nr_2.int3 Making Mercury/ints/combined_type_mode_nr_2.int Making Mercury/ints/combined_type_mode_nr.int Making Mercury/javas/jmercury/combined_type_mode_nr.java Making Mercury/javas/jmercury/combined_type_mode_nr_2.java Making Java class files Mercury/javas/jmercury/combined_type_mode_nr_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] combined_type_mode_nr_2__type_class_id_method_ids_io_1 = new jmercury.runtime.TypeClassMethod[2]; ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId combined_type_mode_nr_2__type_class_id_io_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:19: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct combined_type_mode_nr_2__type_class_decl_io_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:186: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:196: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:215: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/combined_type_mode_nr.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "combined_type_mode_nr"; ^ Mercury/javas/jmercury/combined_type_mode_nr.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/combined_type_mode_nr.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/combined_type_mode_nr.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class combined_type_mode_nr Mercury/javas/jmercury/combined_type_mode_nr.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class combined_type_mode_nr Mercury/javas/jmercury/combined_type_mode_nr.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/combined_type_mode_nr.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class combined_type_mode_nr Mercury/javas/jmercury/combined_type_mode_nr.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class combined_type_mode_nr Mercury/javas/jmercury/combined_type_mode_nr.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class combined_type_mode_nr Mercury/javas/jmercury/combined_type_mode_nr.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class combined_type_mode_nr Mercury/javas/jmercury/combined_type_mode_nr.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/combined_type_mode_nr.java:38: 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 combined_type_mode_nr Mercury/javas/jmercury/combined_type_mode_nr.java:38: 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/combined_type_mode_nr.java:51: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/combined_type_mode_nr.java:51: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class combined_type_mode_nr Mercury/javas/jmercury/combined_type_mode_nr.java:51: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/combined_type_mode_nr.java:57: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = null; ^ Mercury/javas/jmercury/combined_type_mode_nr.java:66: error: package jmercury.runtime does not exist func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_io_12)[0])[6]); ^ Mercury/javas/jmercury/combined_type_mode_nr.java:68: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr4) func_1).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_io_12))), ((java.lang.Object) (java.lang.Integer.valueOf(Result_4))), ((java.lang.Object) (java.lang.Integer.valueOf(Result_4))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/combined_type_mode_nr.java:74: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class combined_type_mode_nr Mercury/javas/jmercury/combined_type_mode_nr_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] combined_type_mode_nr_2__type_class_id_method_ids_io_1 = new jmercury.runtime.TypeClassMethod[2]; ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId combined_type_mode_nr_2__type_class_id_io_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:19: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct combined_type_mode_nr_2__type_class_decl_io_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:40: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:43: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class combined_type_mode_nr_2 Mercury/javas/jmercury/combined_type_mode_nr_2.java:46: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:49: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class combined_type_mode_nr_2 Mercury/javas/jmercury/combined_type_mode_nr_2.java:104: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct ExistQTypeInfo_for_U_14 = null; ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:106: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:106: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class combined_type_mode_nr_2 Mercury/javas/jmercury/combined_type_mode_nr_2.java:106: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:109: error: cannot find symbol io.write_3_p_0(TypeInfo_for_U_11, java.lang.Integer.valueOf(T_6)); ^ symbol: variable io location: class combined_type_mode_nr_2 Mercury/javas/jmercury/combined_type_mode_nr_2.java:130: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct conv0_ExistQTypeInfo_for_U_14 = null; ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:134: error: package jmercury.runtime does not exist conv0_ExistQTypeInfo_for_U_14 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:151: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_io_3)[0])[5]); ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:151: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_io_3)[0])[5]); ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:154: 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_io_3))), ((java.lang.Object) (HeadVar__1_1)))); ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:165: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_7 = null; ^ Mercury/javas/jmercury/combined_type_mode_nr_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_io_6)[0])[6]); ^ Mercury/javas/jmercury/combined_type_mode_nr_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_io_6)[0])[6]); ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:172: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr4) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_io_6))), ((java.lang.Object) (HeadVar__1_1)), ((java.lang.Object) (HeadVar__3_3)), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/combined_type_mode_nr_2.java:177: error: package jmercury.runtime does not exist TypeInfo_for_U_7 = ((jmercury.runtime.TypeInfo_Struct) conv2_TypeInfo_for_U_7); ^ 48 errors make[4]: *** [/tmp/mmake.DqMbBo:1248: combined_type_mode_nr] Error 1 make[4]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/recompilation' ** Error: mmake combined_type_mode_nr failed (it was expected to succeed) make[3]: *** [/tmp/mmake.SpEe3r:857: combined_type_mode_nr.runtest] Error 1 make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/recompilation'