MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/recompilation' ./two_module_test: 8: ulimit: error setting limit (Operation not permitted) executing shell function test_module with_type_re with_type_re_2 Testing with_type_re make[4]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/recompilation' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/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-01/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/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-01/stage2/scripts/mmc --make --options-file - with_type_re.depend make[4]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/recompilation' make[4]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/recompilation' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/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-01/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/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-01/stage2/scripts/mmc --make --options-file - with_type_re Warning: smart recompilation does not yet work with `--no-target-code-only'. Making Mercury/int3s/with_type_re.int3 Making Mercury/int3s/with_type_re_2.int3 Making Mercury/ints/with_type_re_2.int Making Mercury/ints/with_type_re.int Making Mercury/javas/jmercury/with_type_re_2.java Making Mercury/javas/jmercury/with_type_re.java Making Java class files Mercury/javas/jmercury/with_type_re.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/with_type_re.java:33: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/with_type_re.java:34: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/with_type_re_2.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__pseudo_1__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/with_type_re_2.java:16: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct with_type_re_2__type_ctor_info_map_func_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/with_type_re_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__pseudo_1__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/with_type_re_2.java:18: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct with_type_re_2__type_ctor_info_map_pred_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/with_type_re_2.java:86: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/with_type_re_2.java:87: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_9_9, ^ Mercury/javas/jmercury/with_type_re_2.java:89: error: package list does not exist list.List_1 HeadVar__2_6, ^ Mercury/javas/jmercury/with_type_re_2.java:99: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8, ^ Mercury/javas/jmercury/with_type_re_2.java:101: error: package list does not exist list.List_1 HeadVar__2_6, ^ Mercury/javas/jmercury/with_type_re_2.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/with_type_re_2.java:112: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_5, ^ Mercury/javas/jmercury/with_type_re_2.java:109: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/with_type_re_2.java:143: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/with_type_re_2.java:144: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_5, ^ Mercury/javas/jmercury/with_type_re_2.java:141: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/with_type_re_2.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_3, ^ Mercury/javas/jmercury/with_type_re_2.java:176: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_4, ^ Mercury/javas/jmercury/with_type_re_2.java:205: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_3, ^ Mercury/javas/jmercury/with_type_re_2.java:206: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_U_4, ^ Mercury/javas/jmercury/with_type_re_2.java:235: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/with_type_re.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "with_type_re"; ^ Mercury/javas/jmercury/with_type_re.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/with_type_re.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/with_type_re.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class with_type_re Mercury/javas/jmercury/with_type_re.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class with_type_re Mercury/javas/jmercury/with_type_re.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/with_type_re.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class with_type_re Mercury/javas/jmercury/with_type_re.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class with_type_re Mercury/javas/jmercury/with_type_re.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class with_type_re Mercury/javas/jmercury/with_type_re.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class with_type_re Mercury/javas/jmercury/with_type_re.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/with_type_re.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/with_type_re.java:33: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/with_type_re.java:34: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[1]; ^ Mercury/javas/jmercury/with_type_re.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/with_type_re.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class with_type_re Mercury/javas/jmercury/with_type_re.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/with_type_re.java:40: 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 with_type_re Mercury/javas/jmercury/with_type_re.java:40: 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/with_type_re.java:43: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/with_type_re.java:45: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/with_type_re.java:47: error: package list does not exist (list.List_1) with_type_re.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/with_type_re.java:60: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(with_type_re.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/with_type_re.java:60: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(with_type_re.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/with_type_re.java:61: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/with_type_re.java:61: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class with_type_re Mercury/javas/jmercury/with_type_re.java:61: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_33_33 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/with_type_re.java:65: error: package list does not exist list.List_1 Var_9 = (list.List_1) with_type_re.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/with_type_re.java:65: error: package list does not exist list.List_1 Var_9 = (list.List_1) with_type_re.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/with_type_re.java:73: error: cannot find symbol io.write_string_3_p_0(Str1_4); ^ symbol: variable io location: class with_type_re Mercury/javas/jmercury/with_type_re.java:80: error: cannot find symbol io.write_string_3_p_0(Str2_5); ^ symbol: variable io location: class with_type_re Mercury/javas/jmercury/with_type_re.java:84: error: cannot find symbol io.write_string_3_p_0(Str3_6); ^ symbol: variable io location: class with_type_re Mercury/javas/jmercury/with_type_re_2.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_2__pseudo_1__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/with_type_re_2.java:16: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct with_type_re_2__type_ctor_info_map_func_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/with_type_re_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__pseudo_1__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/with_type_re_2.java:18: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct with_type_re_2__type_ctor_info_map_pred_2 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/with_type_re_2.java:23: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class with_type_re_2 Mercury/javas/jmercury/with_type_re_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1, ^ Mercury/javas/jmercury/with_type_re_2.java:26: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2 ^ Mercury/javas/jmercury/with_type_re_2.java:33: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV, ^ Mercury/javas/jmercury/with_type_re_2.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/with_type_re_2.java:41: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/with_type_re_2.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) with_type_re_2.__vpti_func_2__pseudo_1__pseudo_2 ^ Mercury/javas/jmercury/with_type_re_2.java:50: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class with_type_re_2 Mercury/javas/jmercury/with_type_re_2.java:52: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1, ^ Mercury/javas/jmercury/with_type_re_2.java:53: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2 ^ Mercury/javas/jmercury/with_type_re_2.java:60: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV, ^ Mercury/javas/jmercury/with_type_re_2.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/with_type_re_2.java:68: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/with_type_re_2.java:69: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) with_type_re_2.__vpti_pred_2__pseudo_1__pseudo_2 ^ Mercury/javas/jmercury/with_type_re_2.java:116: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/with_type_re_2.java:119: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_pred_3_p_0((/* closure */ java.lang.Object[]) HeadVar__2_2, (/* closure */ java.lang.Object[]) HeadVar__3_3); ^ symbol: variable private_builtin location: class with_type_re_2 Mercury/javas/jmercury/with_type_re_2.java:132: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/with_type_re_2.java:135: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = with_type_re_2.__Compare____map_func_2_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((jmercury.runtime.TypeInfo_Struct) wrapper_arg_2), ((/* closure */ java.lang.Object[]) wrapper_arg_4), ((/* closure */ java.lang.Object[]) wrapper_arg_5)); ^ Mercury/javas/jmercury/with_type_re_2.java:135: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = with_type_re_2.__Compare____map_func_2_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((jmercury.runtime.TypeInfo_Struct) wrapper_arg_2), ((/* closure */ java.lang.Object[]) wrapper_arg_4), ((/* closure */ java.lang.Object[]) wrapper_arg_5)); ^ Mercury/javas/jmercury/with_type_re_2.java:148: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/with_type_re_2.java:151: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_pred_3_p_0((/* closure */ java.lang.Object[]) HeadVar__2_2, (/* closure */ java.lang.Object[]) HeadVar__3_3); ^ symbol: variable private_builtin location: class with_type_re_2 Mercury/javas/jmercury/with_type_re_2.java:164: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/with_type_re_2.java:167: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = with_type_re_2.__Compare____map_pred_2_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((jmercury.runtime.TypeInfo_Struct) wrapper_arg_2), ((/* closure */ java.lang.Object[]) wrapper_arg_4), ((/* closure */ java.lang.Object[]) wrapper_arg_5)); ^ Mercury/javas/jmercury/with_type_re_2.java:167: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = with_type_re_2.__Compare____map_pred_2_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((jmercury.runtime.TypeInfo_Struct) wrapper_arg_2), ((/* closure */ java.lang.Object[]) wrapper_arg_4), ((/* closure */ java.lang.Object[]) wrapper_arg_5)); ^ Mercury/javas/jmercury/with_type_re_2.java:183: error: cannot find symbol succeeded = private_builtin.builtin_unify_pred_2_p_0((/* closure */ java.lang.Object[]) HeadVar__1_1, (/* closure */ java.lang.Object[]) HeadVar__2_2); ^ symbol: variable private_builtin location: class with_type_re_2 Mercury/javas/jmercury/with_type_re_2.java:198: error: package jmercury.runtime does not exist succeeded = with_type_re_2.__Unify____map_func_2_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((jmercury.runtime.TypeInfo_Struct) wrapper_arg_2), ((/* closure */ java.lang.Object[]) wrapper_arg_3), ((/* closure */ java.lang.Object[]) wrapper_arg_4)); ^ Mercury/javas/jmercury/with_type_re_2.java:198: error: package jmercury.runtime does not exist succeeded = with_type_re_2.__Unify____map_func_2_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((jmercury.runtime.TypeInfo_Struct) wrapper_arg_2), ((/* closure */ java.lang.Object[]) wrapper_arg_3), ((/* closure */ java.lang.Object[]) wrapper_arg_4)); ^ Mercury/javas/jmercury/with_type_re_2.java:213: error: cannot find symbol succeeded = private_builtin.builtin_unify_pred_2_p_0((/* closure */ java.lang.Object[]) HeadVar__1_1, (/* closure */ java.lang.Object[]) HeadVar__2_2); ^ symbol: variable private_builtin location: class with_type_re_2 Mercury/javas/jmercury/with_type_re_2.java:228: error: package jmercury.runtime does not exist succeeded = with_type_re_2.__Unify____map_pred_2_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((jmercury.runtime.TypeInfo_Struct) wrapper_arg_2), ((/* closure */ java.lang.Object[]) wrapper_arg_3), ((/* closure */ java.lang.Object[]) wrapper_arg_4)); ^ Mercury/javas/jmercury/with_type_re_2.java:228: error: package jmercury.runtime does not exist succeeded = with_type_re_2.__Unify____map_pred_2_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((jmercury.runtime.TypeInfo_Struct) wrapper_arg_2), ((/* closure */ java.lang.Object[]) wrapper_arg_3), ((/* closure */ java.lang.Object[]) wrapper_arg_4)); ^ Mercury/javas/jmercury/with_type_re_2.java:284: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 90 errors make[4]: *** [/tmp/mmake.x4H5pR:1248: with_type_re] Error 1 make[4]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/recompilation' ** Error: mmake with_type_re failed (it was expected to succeed) make[3]: *** [/tmp/mmake.YMBMqW:873: with_type_re.runtest] Error 1 make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/recompilation'