MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/hard_coded' { 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 --use-subdirs '; 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 - thread_commit.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/hard_coded' { 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 --use-subdirs '; 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 - thread_commit Making Mercury/int3s/thread_commit.int3 Making Mercury/ints/thread_commit.int Making Mercury/javas/jmercury/thread_commit.java Making Java class files Mercury/javas/jmercury/thread_commit.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] thread_commit__field_types_tree_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/thread_commit.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_commit__du_functor_desc_tree_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_commit.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] thread_commit__field_types_tree_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/thread_commit.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_commit__du_functor_desc_tree_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_commit.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_commit__du_stag_ordered_tree_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_commit.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] thread_commit__du_ptag_ordered_tree_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/thread_commit.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_commit__du_name_ordered_tree_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_commit.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct thread_commit__type_ctor_info_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/thread_commit.java:687: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/thread_commit.java:211: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/thread_commit.java:341: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore JoinSem_5, ^ Mercury/javas/jmercury/thread_commit.java:342: error: package thread does not exist thread.Thread_0 _Thread_6) ^ Mercury/javas/jmercury/thread_commit.java:457: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/thread_commit.java:616: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/thread_commit.java:667: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/thread_commit.java:738: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/thread_commit.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "thread_commit"; ^ Mercury/javas/jmercury/thread_commit.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/thread_commit.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/thread_commit.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class thread_commit Mercury/javas/jmercury/thread_commit.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class thread_commit Mercury/javas/jmercury/thread_commit.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/thread_commit.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/thread_commit.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] thread_commit__field_types_tree_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/thread_commit.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_commit__du_functor_desc_tree_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_commit.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] thread_commit__field_types_tree_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/thread_commit.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_commit__du_functor_desc_tree_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_commit.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_commit__du_stag_ordered_tree_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_commit.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] thread_commit__du_ptag_ordered_tree_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/thread_commit.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_commit__du_name_ordered_tree_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_commit.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct thread_commit__type_ctor_info_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/thread_commit.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/thread_commit.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:50: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:58: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:62: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) thread_commit.thread_commit__type_ctor_info_tree_0; ^ Mercury/javas/jmercury/thread_commit.java:64: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) thread_commit.thread_commit__type_ctor_info_tree_0; ^ Mercury/javas/jmercury/thread_commit.java:69: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:77: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:85: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/thread_commit.java:87: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:105: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/thread_commit.java:110: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/thread_commit.java:113: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/thread_commit.java:136: error: cannot find symbol ((java.lang.Object) (thread__semaphore.thread__semaphore__type_ctor_info_semaphore_0)), ^ symbol: variable thread__semaphore location: class thread_commit Mercury/javas/jmercury/thread_commit.java:136: error: illegal start of type ((java.lang.Object) (thread__semaphore.thread__semaphore__type_ctor_info_semaphore_0)), ^ Mercury/javas/jmercury/thread_commit.java:137: error: cannot find symbol ((java.lang.Object) (thread.thread__type_ctor_info_thread_0)), ^ symbol: variable thread location: class thread_commit Mercury/javas/jmercury/thread_commit.java:137: error: illegal start of type ((java.lang.Object) (thread.thread__type_ctor_info_thread_0)), ^ Mercury/javas/jmercury/thread_commit.java:138: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:138: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/thread_commit.java:139: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:139: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/thread_commit.java:239: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(Leaf_3), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/thread_commit.java:252: error: cannot find symbol succeeded = thread.can_spawn_native_0_p_0(); ^ symbol: variable thread location: class thread_commit Mercury/javas/jmercury/thread_commit.java:256: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore JoinSem_4 = null; ^ Mercury/javas/jmercury/thread_commit.java:257: error: package maybe does not exist maybe.Maybe_error_2 SpawnRes_5 = null; ^ Mercury/javas/jmercury/thread_commit.java:262: error: cannot find symbol JoinSem_4 = thread__semaphore.init_3_p_0(); ^ symbol: variable thread__semaphore location: class thread_commit Mercury/javas/jmercury/thread_commit.java:266: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:277: error: cannot find symbol SpawnRes_5 = thread.spawn_native_4_p_0(Var_13); ^ symbol: variable thread location: class thread_commit Mercury/javas/jmercury/thread_commit.java:281: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/thread_commit.java:281: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:281: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/thread_commit.java:282: error: package maybe.Maybe_error_2 does not exist java.lang.String Error_7 = ((java.lang.String) ((maybe.Maybe_error_2.Error_1) SpawnRes_5).F1); ^ Mercury/javas/jmercury/thread_commit.java:285: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_28_28, ((java.lang.Object) (Error_7))); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:295: error: cannot find symbol thread__semaphore.wait_3_p_0(JoinSem_4); ^ symbol: variable thread__semaphore location: class thread_commit Mercury/javas/jmercury/thread_commit.java:299: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:303: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:310: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:319: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:334: error: package jmercury.runtime does not exist thread_commit.thread_proc_4_p_0(((jmercury.runtime.Semaphore) ((java.lang.Object[]) closure)[3]), ((thread.Thread_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/thread_commit.java:334: error: package thread does not exist thread_commit.thread_proc_4_p_0(((jmercury.runtime.Semaphore) ((java.lang.Object[]) closure)[3]), ((thread.Thread_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/thread_commit.java:344: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/thread_commit.java:344: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:344: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/thread_commit.java:349: error: cannot find symbol conv0_STATE_VARIABLE_IO_10_10 = builtin.cc_multi_equal_2_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (0))); ^ symbol: variable builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:353: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:359: error: cannot find symbol thread__semaphore.signal_3_p_0(JoinSem_5); ^ symbol: variable thread__semaphore location: class thread_commit Mercury/javas/jmercury/thread_commit.java:393: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/thread_commit.java:400: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/thread_commit.java:400: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:400: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/thread_commit.java:404: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_13_13, ((java.lang.Object) (Var_10))); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:409: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/thread_commit.java:409: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class thread_commit Mercury/javas/jmercury/thread_commit.java:409: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/thread_commit.java:413: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (Var_12))); ^ symbol: variable io location: class thread_commit Mercury/javas/jmercury/thread_commit.java:425: error: package jmercury.runtime does not exist ((thread_commit.Tree_test_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/thread_commit.java:436: error: cannot find symbol ((thread_commit.Tree_test_2_p_0_env_0) env_ptr).succeeded = mr_int.even_1_p_0(((thread_commit.Tree_test_2_p_0_env_0) env_ptr).Leaf_15); ^ symbol: variable mr_int location: class thread_commit Mercury/javas/jmercury/thread_commit.java:465: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/thread_commit.java:472: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/thread_commit.java:481: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_8 = null; ^ Mercury/javas/jmercury/thread_commit.java:486: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_8.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/thread_commit.java:501: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/thread_commit.java:504: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/thread_commit.java:512: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/thread_commit.java:517: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ 100 errors make[3]: *** [/tmp/mmake.B7MeCd:2360: thread_commit] Error 1 make[3]: Target 'thread_commit.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-01/tests/hard_coded'