MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/recompilation' ./two_module_test: 8: ulimit: error setting limit (Operation not permitted) executing shell function test_module pragma_type_spec_r pragma_type_spec_r_2 Testing pragma_type_spec_r make[4]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/recompilation' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/scripts/mmc --make --options-file - pragma_type_spec_r.depend make[4]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/recompilation' make[4]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/recompilation' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/scripts/mmc --make --options-file - pragma_type_spec_r Warning: smart recompilation does not yet work with `--no-target-code-only'. Making Mercury/int3s/pragma_type_spec_r.int3 Making Mercury/int3s/pragma_type_spec_r_2.int3 Making Mercury/ints/pragma_type_spec_r_2.int Making Mercury/ints/pragma_type_spec_r.int Making Mercury/javas/jmercury/pragma_type_spec_r.java Making Mercury/javas/jmercury/pragma_type_spec_r_2.java Making Java class files Mercury/javas/jmercury/pragma_type_spec_r.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/pragma_type_spec_r.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/pragma_type_spec_r.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[6]; ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:15: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pragma_type_spec_r_2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:49: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:50: error: package list does not exist list.List_1 Bs_2) ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:47: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:77: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:78: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:79: error: package list does not exist list.List_1 Bs_2) ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:75: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:104: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:171: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/pragma_type_spec_r.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "pragma_type_spec_r"; ^ Mercury/javas/jmercury/pragma_type_spec_r.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/pragma_type_spec_r.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/pragma_type_spec_r.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class pragma_type_spec_r Mercury/javas/jmercury/pragma_type_spec_r.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class pragma_type_spec_r Mercury/javas/jmercury/pragma_type_spec_r.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/pragma_type_spec_r.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pragma_type_spec_r Mercury/javas/jmercury/pragma_type_spec_r.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class pragma_type_spec_r Mercury/javas/jmercury/pragma_type_spec_r.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pragma_type_spec_r Mercury/javas/jmercury/pragma_type_spec_r.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class pragma_type_spec_r Mercury/javas/jmercury/pragma_type_spec_r.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/pragma_type_spec_r.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/pragma_type_spec_r.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/pragma_type_spec_r.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[6]; ^ Mercury/javas/jmercury/pragma_type_spec_r.java:38: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/pragma_type_spec_r.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 pragma_type_spec_r Mercury/javas/jmercury/pragma_type_spec_r.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/pragma_type_spec_r.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 pragma_type_spec_r Mercury/javas/jmercury/pragma_type_spec_r.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/pragma_type_spec_r.java:43: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/pragma_type_spec_r.java:45: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pragma_type_spec_r.java:47: error: package list does not exist (list.List_1) pragma_type_spec_r.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/pragma_type_spec_r.java:50: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pragma_type_spec_r.java:52: error: package list does not exist (list.List_1) pragma_type_spec_r.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/pragma_type_spec_r.java:55: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pragma_type_spec_r.java:57: error: package list does not exist (list.List_1) pragma_type_spec_r.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/pragma_type_spec_r.java:60: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pragma_type_spec_r.java:62: error: package list does not exist (list.List_1) pragma_type_spec_r.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/pragma_type_spec_r.java:65: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pragma_type_spec_r.java:67: error: package list does not exist (list.List_1) pragma_type_spec_r.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/pragma_type_spec_r.java:70: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pragma_type_spec_r.java:72: error: package list does not exist (list.List_1) pragma_type_spec_r.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/pragma_type_spec_r.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/pragma_type_spec_r.java:85: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class pragma_type_spec_r Mercury/javas/jmercury/pragma_type_spec_r.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/pragma_type_spec_r.java:86: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_22_22 = null; ^ Mercury/javas/jmercury/pragma_type_spec_r.java:87: error: package list does not exist list.List_1 List_4 = null; ^ Mercury/javas/jmercury/pragma_type_spec_r.java:88: error: package list does not exist list.List_1 Var_7 = (list.List_1) pragma_type_spec_r.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/pragma_type_spec_r.java:88: error: package list does not exist list.List_1 Var_7 = (list.List_1) pragma_type_spec_r.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/pragma_type_spec_r.java:89: error: package list does not exist list.List_1 Var_14 = (list.List_1) pragma_type_spec_r.MR_scalar_common_3[5]; ^ Mercury/javas/jmercury/pragma_type_spec_r.java:89: error: package list does not exist list.List_1 Var_14 = (list.List_1) pragma_type_spec_r.MR_scalar_common_3[5]; ^ Mercury/javas/jmercury/pragma_type_spec_r.java:94: error: package jmercury.runtime does not exist TypeInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(pragma_type_spec_r.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/pragma_type_spec_r.java:96: error: cannot find symbol io.write_line_3_p_0(TypeInfo_22_22, ((java.lang.Object) (List_4))); ^ symbol: variable io location: class pragma_type_spec_r Mercury/javas/jmercury/pragma_type_spec_r_2.java:15: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct pragma_type_spec_r_2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:23: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_EQUIV_GROUND, ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:28: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:31: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:32: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:32: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class pragma_type_spec_r_2 Mercury/javas/jmercury/pragma_type_spec_r_2.java:52: error: package list does not exist list.List_1 HeadVar__3_3 = null; ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:58: error: package list.List_1 does not exist int H_5 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:58: error: illegal start of type int H_5 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue(); ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:59: error: package list does not exist list.List_1 T_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:59: error: package list.List_1 does not exist list.List_1 T_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:60: error: package list does not exist list.List_1 Var_8 = null; ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:66: error: package list.List_1 does not exist HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:81: error: package list does not exist list.List_1 HeadVar__3_3 = null; ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:87: error: package list.List_1 does not exist java.lang.Object H_5 = ((list.List_1.F_cons_2) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:88: error: package list does not exist list.List_1 T_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:88: error: package list.List_1 does not exist list.List_1 T_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:89: error: package list does not exist list.List_1 Var_8 = null; ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:95: error: package list.List_1 does not exist HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:110: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:116: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:121: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:123: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:134: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/pragma_type_spec_r_2.java:200: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 81 errors make[4]: *** [/tmp/mmake.0ADe8i:1248: pragma_type_spec_r] Error 1 make[4]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/recompilation' ** Error: mmake pragma_type_spec_r failed (it was expected to succeed) make[3]: *** [/tmp/mmake.k5ukJN:857: pragma_type_spec_r.runtest] Error 1 make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/recompilation'