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 type_qual_re type_qual_re_2 Testing type_qual_re 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 - type_qual_re.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 - type_qual_re Warning: smart recompilation does not yet work with `--no-target-code-only'. Making Mercury/int3s/type_qual_re.int3 Making Mercury/int3s/type_qual_re_2.int3 Making Mercury/ints/type_qual_re.int Making Mercury/ints/type_qual_re_2.int Making Mercury/javas/jmercury/type_qual_re.java Making Mercury/javas/jmercury/type_qual_re_2.java Making Java class files Mercury/javas/jmercury/type_qual_re_2.java:15: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct type_qual_re_2__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/type_qual_re_2.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc type_qual_re_2__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/type_qual_re_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] type_qual_re_2__field_types_foo_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/type_qual_re_2.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc type_qual_re_2__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/type_qual_re_2.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] type_qual_re_2__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/type_qual_re_2.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] type_qual_re_2__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/type_qual_re_2.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] type_qual_re_2__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/type_qual_re_2.java:23: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct type_qual_re_2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/type_qual_re_2.java:128: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/type_qual_re_2.java:355: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/type_qual_re_2.java:167: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/type_qual_re_2.java:295: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/type_qual_re.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "type_qual_re"; ^ Mercury/javas/jmercury/type_qual_re.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/type_qual_re.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/type_qual_re.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class type_qual_re Mercury/javas/jmercury/type_qual_re.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class type_qual_re Mercury/javas/jmercury/type_qual_re.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/type_qual_re.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_qual_re Mercury/javas/jmercury/type_qual_re.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class type_qual_re Mercury/javas/jmercury/type_qual_re.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_qual_re Mercury/javas/jmercury/type_qual_re.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class type_qual_re Mercury/javas/jmercury/type_qual_re.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/type_qual_re.java:36: 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/type_qual_re.java:36: 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 type_qual_re Mercury/javas/jmercury/type_qual_re.java:36: 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/type_qual_re.java:38: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct Var_9 = null; ^ Mercury/javas/jmercury/type_qual_re.java:41: error: cannot find symbol Var_9 = type_desc.type_of_1_f_0(TypeCtorInfo_11_11); ^ symbol: variable type_desc location: class type_qual_re Mercury/javas/jmercury/type_qual_re.java:44: error: cannot find symbol Var_7 = type_desc.type_name_1_f_0(Var_9); ^ symbol: variable type_desc location: class type_qual_re Mercury/javas/jmercury/type_qual_re.java:47: error: cannot find symbol io.write_string_3_p_0(Var_7); ^ symbol: variable io location: class type_qual_re Mercury/javas/jmercury/type_qual_re.java:50: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class type_qual_re Mercury/javas/jmercury/type_qual_re_2.java:15: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct type_qual_re_2__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/type_qual_re_2.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc type_qual_re_2__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/type_qual_re_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] type_qual_re_2__field_types_foo_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/type_qual_re_2.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc type_qual_re_2__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/type_qual_re_2.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] type_qual_re_2__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/type_qual_re_2.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] type_qual_re_2__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/type_qual_re_2.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] type_qual_re_2__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/type_qual_re_2.java:23: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct type_qual_re_2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/type_qual_re_2.java:31: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/type_qual_re_2.java:36: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/type_qual_re_2.java:39: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/type_qual_re_2.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/type_qual_re_2.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class type_qual_re_2 Mercury/javas/jmercury/type_qual_re_2.java:51: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class type_qual_re_2 Mercury/javas/jmercury/type_qual_re_2.java:59: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class type_qual_re_2 Mercury/javas/jmercury/type_qual_re_2.java:63: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/type_qual_re_2.java:63: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class type_qual_re_2 Mercury/javas/jmercury/type_qual_re_2.java:68: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class type_qual_re_2 Mercury/javas/jmercury/type_qual_re_2.java:76: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class type_qual_re_2 Mercury/javas/jmercury/type_qual_re_2.java:84: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/type_qual_re_2.java:86: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class type_qual_re_2 Mercury/javas/jmercury/type_qual_re_2.java:104: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/type_qual_re_2.java:109: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/type_qual_re_2.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/type_qual_re_2.java:134: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/type_qual_re_2.java:140: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/type_qual_re_2.java:145: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/type_qual_re_2.java:147: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/type_qual_re_2.java:158: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/type_qual_re_2.java:173: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/type_qual_re_2.java:179: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/type_qual_re_2.java:183: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/type_qual_re_2.java:185: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/type_qual_re_2.java:188: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/type_qual_re_2.java:196: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/type_qual_re_2.java:201: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/type_qual_re_2.java:203: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/type_qual_re_2.java:215: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/type_qual_re_2.java:342: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 70 errors make[4]: *** [/tmp/mmake.Vswe1x:1248: type_qual_re] Error 1 make[4]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/recompilation' ** Error: mmake type_qual_re failed (it was expected to succeed) make[3]: *** [/tmp/mmake.jymCz9:873: type_qual_re.runtest] Error 1 make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/recompilation'