MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/recompilation' ./two_module_test: 8: ulimit: error setting limit (Operation not permitted) executing shell function test_module typeclass_method_pragma_r typeclass_method_pragma_r_2 Testing typeclass_method_pragma_r make[4]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/recompilation' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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 --no-halt-at-warn '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-26/stage2/scripts/mmc --make --options-file - typeclass_method_pragma_r.depend make[4]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/recompilation' make[4]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/recompilation' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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 --no-halt-at-warn '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-26/stage2/scripts/mmc --make --options-file - typeclass_method_pragma_r Warning: smart recompilation does not yet work with `--no-target-code-only'. Making Mercury/int3s/typeclass_method_pragma_r.int3 Making Mercury/int3s/typeclass_method_pragma_r_2.int3 Making Mercury/ints/typeclass_method_pragma_r.int Making Mercury/ints/typeclass_method_pragma_r_2.int Making Mercury/javas/jmercury/typeclass_method_pragma_r.java Making Mercury/javas/jmercury/typeclass_method_pragma_r_2.java Making Java class files Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc typeclass_method_pragma_r_2__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] typeclass_method_pragma_r_2__field_types_foo_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc typeclass_method_pragma_r_2__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] typeclass_method_pragma_r_2__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] typeclass_method_pragma_r_2__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] typeclass_method_pragma_r_2__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct typeclass_method_pragma_r_2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] typeclass_method_pragma_r_2__type_class_id_method_ids_io_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId typeclass_method_pragma_r_2__type_class_id_io_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:27: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct typeclass_method_pragma_r_2__type_class_decl_io_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:370: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:206: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:308: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:350: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/typeclass_method_pragma_r.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "typeclass_method_pragma_r"; ^ Mercury/javas/jmercury/typeclass_method_pragma_r.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/typeclass_method_pragma_r.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/typeclass_method_pragma_r.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class typeclass_method_pragma_r Mercury/javas/jmercury/typeclass_method_pragma_r.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class typeclass_method_pragma_r Mercury/javas/jmercury/typeclass_method_pragma_r.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/typeclass_method_pragma_r.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class typeclass_method_pragma_r Mercury/javas/jmercury/typeclass_method_pragma_r.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class typeclass_method_pragma_r Mercury/javas/jmercury/typeclass_method_pragma_r.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class typeclass_method_pragma_r Mercury/javas/jmercury/typeclass_method_pragma_r.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class typeclass_method_pragma_r Mercury/javas/jmercury/typeclass_method_pragma_r.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/typeclass_method_pragma_r.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(typeclass_method_pragma_r_2.typeclass_method_pragma_r_2__type_ctor_info_foo_0))) ^ Mercury/javas/jmercury/typeclass_method_pragma_r.java:53: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/typeclass_method_pragma_r.java:60: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_io_8)[0])[5]); ^ Mercury/javas/jmercury/typeclass_method_pragma_r.java:62: 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/typeclass_method_pragma_r.java:65: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class typeclass_method_pragma_r Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc typeclass_method_pragma_r_2__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] typeclass_method_pragma_r_2__field_types_foo_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc typeclass_method_pragma_r_2__du_functor_desc_foo_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] typeclass_method_pragma_r_2__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] typeclass_method_pragma_r_2__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] typeclass_method_pragma_r_2__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct typeclass_method_pragma_r_2__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassMethod[] typeclass_method_pragma_r_2__type_class_id_method_ids_io_1 = new jmercury.runtime.TypeClassMethod[1]; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeClassId typeclass_method_pragma_r_2__type_class_id_io_1 = new jmercury.runtime.TypeClassId(); ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:27: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeClassDeclStruct typeclass_method_pragma_r_2__type_class_decl_io_1 = new jmercury.runtime.TypeClassDeclStruct(); ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:35: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class typeclass_method_pragma_r_2 Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:43: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class typeclass_method_pragma_r_2 Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class typeclass_method_pragma_r_2 Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:52: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class typeclass_method_pragma_r_2 Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:60: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class typeclass_method_pragma_r_2 Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:68: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:70: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class typeclass_method_pragma_r_2 Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:88: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:96: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:119: error: package jmercury.runtime does not exist new jmercury.runtime.TypeClassMethod( ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:122: error: cannot find symbol private_builtin.MR_PREDICATE ^ symbol: variable private_builtin location: class typeclass_method_pragma_r_2 Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:163: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(typeclass_method_pragma_r_2.typeclass_method_pragma_r_2__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:163: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_4_4 = jmercury.runtime.TypeInfo_Struct.maybe_new(typeclass_method_pragma_r_2.typeclass_method_pragma_r_2__type_ctor_info_foo_0); ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:166: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_4_4, ((java.lang.Object) (HeadVar__1_1))); ^ symbol: variable io location: class typeclass_method_pragma_r_2 Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:198: 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/typeclass_method_pragma_r_2.java:198: 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/typeclass_method_pragma_r_2.java:202: 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/typeclass_method_pragma_r_2.java:212: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:218: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:222: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:224: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:227: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:235: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:240: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:242: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:254: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/typeclass_method_pragma_r_2.java:337: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 69 errors make[4]: *** [/tmp/mmake.QBKpWp:1248: typeclass_method_pragma_r] Error 1 make[4]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/recompilation' ** Error: mmake typeclass_method_pragma_r failed (it was expected to succeed) make[3]: *** [/tmp/mmake.5ePMzy:857: typeclass_method_pragma_r.runtest] Error 1 make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/recompilation'