MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/recompilation' ./two_module_test: 8: ulimit: error setting limit (Operation not permitted) executing shell function test_module pred_ctor_ambiguity_r pred_ctor_ambiguity_r_2 Testing pred_ctor_ambiguity_r make[4]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/recompilation' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-10/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-10/stage2/scripts/mmc --make --options-file - pred_ctor_ambiguity_r.depend make[4]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/recompilation' make[4]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/recompilation' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-10/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-10/stage2/scripts/mmc --make --options-file - pred_ctor_ambiguity_r Warning: smart recompilation does not yet work with `--no-target-code-only'. Making Mercury/int3s/pred_ctor_ambiguity_r.int3 Making Mercury/int3s/pred_ctor_ambiguity_r_2.int3 Making Mercury/ints/pred_ctor_ambiguity_r_2.int Making Mercury/ints/pred_ctor_ambiguity_r.int Making Mercury/javas/jmercury/pred_ctor_ambiguity_r.java Making Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java Making Java class files Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pred_ctor_ambiguity_r__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pred_ctor_ambiguity_r__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pred_ctor_ambiguity_r__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] pred_ctor_ambiguity_r__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pred_ctor_ambiguity_r__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pred_ctor_ambiguity_r__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:254: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:127: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:212: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pred_ctor_ambiguity_r_2__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pred_ctor_ambiguity_r_2__field_types_foo_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pred_ctor_ambiguity_r_2__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pred_ctor_ambiguity_r_2__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] pred_ctor_ambiguity_r_2__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pred_ctor_ambiguity_r_2__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pred_ctor_ambiguity_r_2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:251: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:107: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:209: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "pred_ctor_ambiguity_r"; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class pred_ctor_ambiguity_r Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class pred_ctor_ambiguity_r Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pred_ctor_ambiguity_r Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pred_ctor_ambiguity_r Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pred_ctor_ambiguity_r Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pred_ctor_ambiguity_r Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pred_ctor_ambiguity_r__field_types_t_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pred_ctor_ambiguity_r__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pred_ctor_ambiguity_r__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] pred_ctor_ambiguity_r__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pred_ctor_ambiguity_r__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pred_ctor_ambiguity_r__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class pred_ctor_ambiguity_r Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:48: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class pred_ctor_ambiguity_r Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:56: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pred_ctor_ambiguity_r Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:64: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class pred_ctor_ambiguity_r Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:78: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:83: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:86: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:119: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(pred_ctor_ambiguity_r.pred_ctor_ambiguity_r__type_ctor_info_t_0); ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:119: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(pred_ctor_ambiguity_r.pred_ctor_ambiguity_r__type_ctor_info_t_0); ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:123: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_8_9, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class pred_ctor_ambiguity_r Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:133: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:139: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:147: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:152: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:154: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:166: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r.java:241: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pred_ctor_ambiguity_r_2__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] pred_ctor_ambiguity_r_2__field_types_foo_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc pred_ctor_ambiguity_r_2__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pred_ctor_ambiguity_r_2__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] pred_ctor_ambiguity_r_2__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] pred_ctor_ambiguity_r_2__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pred_ctor_ambiguity_r_2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:30: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class pred_ctor_ambiguity_r_2 Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:38: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pred_ctor_ambiguity_r_2 Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class pred_ctor_ambiguity_r_2 Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:47: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class pred_ctor_ambiguity_r_2 Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:55: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class pred_ctor_ambiguity_r_2 Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:63: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:65: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class pred_ctor_ambiguity_r_2 Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:83: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:88: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:91: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:113: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:119: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:123: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:125: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:128: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:136: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:141: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:143: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:155: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/pred_ctor_ambiguity_r_2.java:238: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 83 errors make[4]: *** [/tmp/mmake.g8eBJO:1248: pred_ctor_ambiguity_r] Error 1 make[4]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/recompilation' ** Error: mmake pred_ctor_ambiguity_r failed (it was expected to succeed) make[3]: *** [/tmp/mmake.W9unMx:857: pred_ctor_ambiguity_r.runtest] Error 1 make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/recompilation'