MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/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-10-31/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/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-10-31/stage2/scripts/mmc --make --options-file - thread_sbrk.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/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-10-31/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/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-10-31/stage2/scripts/mmc --make --options-file - thread_sbrk Making Mercury/int3s/thread_sbrk.int3 Making Mercury/ints/thread_sbrk.int Making Mercury/javas/jmercury/thread_sbrk.java Making Java class files Mercury/javas/jmercury/thread_sbrk.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_sbrk__du_functor_desc_tree_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_sbrk.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] thread_sbrk__field_types_tree_0_1 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/thread_sbrk.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_sbrk__du_functor_desc_tree_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_sbrk.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_sbrk__du_stag_ordered_tree_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_sbrk.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] thread_sbrk__du_ptag_ordered_tree_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/thread_sbrk.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_sbrk__du_name_ordered_tree_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_sbrk.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct thread_sbrk__type_ctor_info_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/thread_sbrk.java:654: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/thread_sbrk.java:129: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/thread_sbrk.java:162: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore Sem_5, ^ Mercury/javas/jmercury/thread_sbrk.java:238: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore Sem_5, ^ Mercury/javas/jmercury/thread_sbrk.java:239: error: package thread does not exist thread.Thread_0 _Thread_6) ^ Mercury/javas/jmercury/thread_sbrk.java:374: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore Sem_4) ^ Mercury/javas/jmercury/thread_sbrk.java:430: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/thread_sbrk.java:592: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/thread_sbrk.java:634: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/thread_sbrk.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "thread_sbrk"; ^ Mercury/javas/jmercury/thread_sbrk.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/thread_sbrk.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/thread_sbrk.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/thread_sbrk.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/thread_sbrk.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_sbrk__du_functor_desc_tree_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_sbrk.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] thread_sbrk__field_types_tree_0_1 = new jmercury.runtime.PseudoTypeInfo[3]; ^ Mercury/javas/jmercury/thread_sbrk.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc thread_sbrk__du_functor_desc_tree_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/thread_sbrk.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_sbrk__du_stag_ordered_tree_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_sbrk.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] thread_sbrk__du_ptag_ordered_tree_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/thread_sbrk.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] thread_sbrk__du_name_ordered_tree_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/thread_sbrk.java:39: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct thread_sbrk__type_ctor_info_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/thread_sbrk.java:47: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:55: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:59: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/thread_sbrk.java:59: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) thread_sbrk.thread_sbrk__type_ctor_info_tree_0; ^ Mercury/javas/jmercury/thread_sbrk.java:63: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) thread_sbrk.thread_sbrk__type_ctor_info_tree_0; ^ Mercury/javas/jmercury/thread_sbrk.java:68: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:76: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:84: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/thread_sbrk.java:86: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:104: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/thread_sbrk.java:109: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/thread_sbrk.java:112: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/thread_sbrk.java:129: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/thread_sbrk.java:137: error: cannot find symbol ((java.lang.Object) (thread__semaphore.thread__semaphore__type_ctor_info_semaphore_0)), ^ symbol: variable thread__semaphore location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:137: error: illegal start of type ((java.lang.Object) (thread__semaphore.thread__semaphore__type_ctor_info_semaphore_0)), ^ Mercury/javas/jmercury/thread_sbrk.java:138: error: cannot find symbol ((java.lang.Object) (thread.thread__type_ctor_info_thread_0)), ^ symbol: variable thread location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:138: error: illegal start of type ((java.lang.Object) (thread.thread__type_ctor_info_thread_0)), ^ Mercury/javas/jmercury/thread_sbrk.java:139: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:139: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/thread_sbrk.java:140: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:140: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/thread_sbrk.java:145: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/thread_sbrk.java:146: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/thread_sbrk.java:147: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/thread_sbrk.java:148: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/thread_sbrk.java:149: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/thread_sbrk.java:150: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/thread_sbrk.java:174: error: cannot find symbol thread__semaphore.signal_3_p_0(Sem_5); ^ symbol: variable thread__semaphore location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:185: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_35 = null; ^ Mercury/javas/jmercury/thread_sbrk.java:202: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:204: error: package string__parse_util does not exist Var_35 = (string__parse_util.String_format_flags_0) thread_sbrk.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/thread_sbrk.java:206: error: cannot find symbol Var_29 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_35, Depth_6); ^ symbol: variable string__format location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:209: error: cannot find symbol io.write_string_3_p_0(Var_29); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:213: error: cannot find symbol io.write_string_3_p_0(Var_37); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:216: error: cannot find symbol Var_39 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_35, Var_21); ^ symbol: variable string__format location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:219: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:223: error: cannot find symbol io.write_string_3_p_0(Var_46); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:244: error: cannot find symbol thread__semaphore.signal_3_p_0(Sem_5); ^ symbol: variable thread__semaphore location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:313: error: cannot find symbol succeeded = thread.can_spawn_native_0_p_0(); ^ symbol: variable thread location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:317: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore Sem_4 = null; ^ Mercury/javas/jmercury/thread_sbrk.java:320: error: package maybe does not exist maybe.Maybe_error_2 Var_5 = null; ^ Mercury/javas/jmercury/thread_sbrk.java:323: error: cannot find symbol Sem_4 = thread__semaphore.init_3_p_0(); ^ symbol: variable thread__semaphore location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:334: error: cannot find symbol Var_5 = thread.spawn_native_4_p_0(Var_9); ^ symbol: variable thread location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:337: error: cannot find symbol thread__semaphore.wait_3_p_0(Sem_4); ^ symbol: variable thread__semaphore location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:344: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:352: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:367: error: package jmercury.runtime does not exist thread_sbrk.alloc_thread_4_p_0(((jmercury.runtime.Semaphore) ((java.lang.Object[]) closure)[3]), ((thread.Thread_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/thread_sbrk.java:367: error: package thread does not exist thread_sbrk.alloc_thread_4_p_0(((jmercury.runtime.Semaphore) ((java.lang.Object[]) closure)[3]), ((thread.Thread_0) wrapper_arg_1)); ^ Mercury/javas/jmercury/thread_sbrk.java:378: error: package bool does not exist bool.Bool_0 Success_6 = null; ^ Mercury/javas/jmercury/thread_sbrk.java:382: error: cannot find symbol Success_6 = thread__semaphore.try_wait_4_p_0(Sem_4); ^ symbol: variable thread__semaphore location: class thread_sbrk Mercury/javas/jmercury/thread_sbrk.java:384: error: illegal start of type switch (Success_6.MR_value) { ^ Mercury/javas/jmercury/thread_sbrk.java:395: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/thread_sbrk.java:438: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/thread_sbrk.java:445: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/thread_sbrk.java:449: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/thread_sbrk.java:451: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/thread_sbrk.java:454: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/thread_sbrk.java:463: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/thread_sbrk.java:467: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/thread_sbrk.java:472: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/thread_sbrk.java:474: error: package builtin does not exist SubResult1_6 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/thread_sbrk.java:476: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/thread_sbrk.java:481: error: package builtin does not exist builtin.Comparison_result_0 SubResult2_9 = null; ^ Mercury/javas/jmercury/thread_sbrk.java:486: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult2_9.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/thread_sbrk.java:511: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ 100 errors make[3]: *** [/tmp/mmake.A6FhYj:2362: thread_sbrk] Error 1 make[3]: Target 'thread_sbrk.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/tests/hard_coded'