MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/tests/recompilation' ./two_module_test: 8: ulimit: error setting limit (Operation not permitted) executing shell function test_module add_instance_2_r add_instance_2_r_2 Testing add_instance_2_r make[4]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/tests/recompilation' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/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-08-04/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/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-08-04/stage2/scripts/mmc --make --options-file - add_instance_2_r.depend make[4]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/tests/recompilation' make[4]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/tests/recompilation' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/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-08-04/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/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-08-04/stage2/scripts/mmc --make --options-file - add_instance_2_r Warning: smart recompilation does not yet work with `--no-target-code-only'. Making Mercury/int3s/add_instance_2_r.int3 Making Mercury/int3s/add_instance_2_r_2.int3 Making Mercury/ints/add_instance_2_r_2.int Making Mercury/ints/add_instance_2_r.int Making Mercury/javas/jmercury/add_instance_2_r.java Making Mercury/javas/jmercury/add_instance_2_r_2.java Making Java class files Mercury/javas/jmercury/add_instance_2_r.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc add_instance_2_r__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/add_instance_2_r.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] add_instance_2_r__field_types_foo_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/add_instance_2_r.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc add_instance_2_r__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/add_instance_2_r.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] add_instance_2_r__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/add_instance_2_r.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] add_instance_2_r__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/add_instance_2_r.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] add_instance_2_r__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/add_instance_2_r.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct add_instance_2_r__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/add_instance_2_r.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] add_instance_2_r__type_class_id_method_ids_io_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/add_instance_2_r.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId add_instance_2_r__type_class_id_io_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/add_instance_2_r.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct add_instance_2_r__type_class_decl_io_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/add_instance_2_r.java:409: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/add_instance_2_r.java:245: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/add_instance_2_r.java:347: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/add_instance_2_r.java:389: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/add_instance_2_r_2.java:15: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct add_instance_2_r_2__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/add_instance_2_r_2.java:47: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/add_instance_2_r_2.java:107: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/add_instance_2_r.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "add_instance_2_r"; ^ Mercury/javas/jmercury/add_instance_2_r.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/add_instance_2_r.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/add_instance_2_r.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class add_instance_2_r Mercury/javas/jmercury/add_instance_2_r.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class add_instance_2_r Mercury/javas/jmercury/add_instance_2_r.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/add_instance_2_r.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class add_instance_2_r Mercury/javas/jmercury/add_instance_2_r.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class add_instance_2_r Mercury/javas/jmercury/add_instance_2_r.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class add_instance_2_r Mercury/javas/jmercury/add_instance_2_r.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class add_instance_2_r Mercury/javas/jmercury/add_instance_2_r.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/add_instance_2_r.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc add_instance_2_r__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/add_instance_2_r.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] add_instance_2_r__field_types_foo_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/add_instance_2_r.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc add_instance_2_r__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/add_instance_2_r.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] add_instance_2_r__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/add_instance_2_r.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] add_instance_2_r__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/add_instance_2_r.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] add_instance_2_r__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/add_instance_2_r.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct add_instance_2_r__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/add_instance_2_r.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] add_instance_2_r__type_class_id_method_ids_io_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/add_instance_2_r.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId add_instance_2_r__type_class_id_io_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/add_instance_2_r.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct add_instance_2_r__type_class_decl_io_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/add_instance_2_r.java:52: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class add_instance_2_r Mercury/javas/jmercury/add_instance_2_r.java:60: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class add_instance_2_r Mercury/javas/jmercury/add_instance_2_r.java:64: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/add_instance_2_r.java:64: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class add_instance_2_r Mercury/javas/jmercury/add_instance_2_r.java:69: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class add_instance_2_r Mercury/javas/jmercury/add_instance_2_r.java:77: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class add_instance_2_r Mercury/javas/jmercury/add_instance_2_r.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/add_instance_2_r.java:87: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class add_instance_2_r Mercury/javas/jmercury/add_instance_2_r.java:105: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/add_instance_2_r.java:110: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/add_instance_2_r.java:113: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/add_instance_2_r.java:136: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/add_instance_2_r.java:139: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class add_instance_2_r Mercury/javas/jmercury/add_instance_2_r.java:170: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(add_instance_2_r.add_instance_2_r__type_ctor_info_foo_0))) ^ Mercury/javas/jmercury/add_instance_2_r.java:186: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(add_instance_2_r.add_instance_2_r__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/add_instance_2_r.java:186: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(add_instance_2_r.add_instance_2_r__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/add_instance_2_r.java:189: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_4_4, ((java.lang.Object) (HeadVar__1_1))); ^ symbol: variable io location: class add_instance_2_r Mercury/javas/jmercury/add_instance_2_r.java:221: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_io_8)[0])[5]); ^ Mercury/javas/jmercury/add_instance_2_r.java:221: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_io_8)[0])[5]); ^ Mercury/javas/jmercury/add_instance_2_r.java:225: 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_io_8))), ((java.lang.Object) (((java.lang.Object) (X_4)))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/add_instance_2_r.java:228: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class add_instance_2_r Mercury/javas/jmercury/add_instance_2_r.java:237: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_io_4)[0])[5]); ^ Mercury/javas/jmercury/add_instance_2_r.java:237: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_io_4)[0])[5]); ^ Mercury/javas/jmercury/add_instance_2_r.java:241: 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_io_4))), ((java.lang.Object) (HeadVar__1_1)), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/add_instance_2_r.java:251: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/add_instance_2_r.java:257: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/add_instance_2_r.java:261: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/add_instance_2_r.java:263: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/add_instance_2_r.java:266: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/add_instance_2_r.java:274: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/add_instance_2_r.java:279: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/add_instance_2_r.java:281: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/add_instance_2_r.java:293: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/add_instance_2_r.java:376: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/add_instance_2_r_2.java:15: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct add_instance_2_r_2__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/add_instance_2_r_2.java:23: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/add_instance_2_r_2.java:28: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/add_instance_2_r_2.java:31: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/add_instance_2_r_2.java:32: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) add_instance_2_r.add_instance_2_r__type_ctor_info_foo_0 ^ Mercury/javas/jmercury/add_instance_2_r_2.java:52: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/add_instance_2_r_2.java:68: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/add_instance_2_r_2.java:136: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 80 errors make[4]: *** [/tmp/mmake.ILpKF9:1248: add_instance_2_r] Error 1 make[4]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/tests/recompilation' ** Error: mmake add_instance_2_r failed (it was expected to succeed) make[3]: *** [/tmp/mmake.VzpOJn:857: add_instance_2_r.runtest] Error 1 make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/tests/recompilation'