MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - closeable_channel_test.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - closeable_channel_test Making Mercury/int3s/closeable_channel_test.int3 Making Mercury/ints/closeable_channel_test.int Making Mercury/javas/jmercury/closeable_channel_test.java Making Java class files Mercury/javas/jmercury/closeable_channel_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct thread__closeable_channel__pti_closeable_channel_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/closeable_channel_test.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] closeable_channel_test__field_types_log_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/closeable_channel_test.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc closeable_channel_test__du_functor_desc_log_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/closeable_channel_test.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc closeable_channel_test__du_functor_desc_log_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/closeable_channel_test.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] closeable_channel_test__du_stag_ordered_log_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/closeable_channel_test.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] closeable_channel_test__du_ptag_ordered_log_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/closeable_channel_test.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] closeable_channel_test__du_name_ordered_log_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/closeable_channel_test.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct closeable_channel_test__type_ctor_info_log_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/closeable_channel_test.java:134: 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/closeable_channel_test.java:135: 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/closeable_channel_test.java:1127: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/closeable_channel_test.java:217: error: package thread__closeable_channel does not exist thread__closeable_channel.Closeable_channel_1 Ch_5) ^ Mercury/javas/jmercury/closeable_channel_test.java:215: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/closeable_channel_test.java:246: error: package jmercury.runtime does not exist private static jmercury.runtime.Semaphore ^ Mercury/javas/jmercury/closeable_channel_test.java:285: error: package list does not exist list.List_1 Args_8) ^ Mercury/javas/jmercury/closeable_channel_test.java:674: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore X_1) ^ Mercury/javas/jmercury/closeable_channel_test.java:689: error: package thread__closeable_channel does not exist thread__closeable_channel.Closeable_channel_1 InCh_7, ^ Mercury/javas/jmercury/closeable_channel_test.java:690: error: package thread__closeable_channel does not exist thread__closeable_channel.Closeable_channel_1 OutCh_8) ^ Mercury/javas/jmercury/closeable_channel_test.java:764: error: package thread__closeable_channel does not exist thread__closeable_channel.Closeable_channel_1 InCh_8, ^ Mercury/javas/jmercury/closeable_channel_test.java:765: error: package thread__closeable_channel does not exist thread__closeable_channel.Closeable_channel_1 OutCh_9, ^ Mercury/javas/jmercury/closeable_channel_test.java:766: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore DoneSem_10) ^ Mercury/javas/jmercury/closeable_channel_test.java:799: error: package thread__closeable_channel does not exist thread__closeable_channel.Closeable_channel_1 Ch_6) ^ Mercury/javas/jmercury/closeable_channel_test.java:831: error: package thread__closeable_channel does not exist thread__closeable_channel.Closeable_channel_1 Ch_7, ^ Mercury/javas/jmercury/closeable_channel_test.java:921: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/closeable_channel_test.java:1015: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/closeable_channel_test.java:1084: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/closeable_channel_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "closeable_channel_test"; ^ Mercury/javas/jmercury/closeable_channel_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/closeable_channel_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/closeable_channel_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/closeable_channel_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/closeable_channel_test.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct thread__closeable_channel__pti_closeable_channel_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/closeable_channel_test.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] closeable_channel_test__field_types_log_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/closeable_channel_test.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc closeable_channel_test__du_functor_desc_log_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/closeable_channel_test.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc closeable_channel_test__du_functor_desc_log_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/closeable_channel_test.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] closeable_channel_test__du_stag_ordered_log_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/closeable_channel_test.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] closeable_channel_test__du_ptag_ordered_log_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/closeable_channel_test.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] closeable_channel_test__du_name_ordered_log_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/closeable_channel_test.java:44: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct closeable_channel_test__type_ctor_info_log_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/closeable_channel_test.java:49: error: cannot find symbol thread__closeable_channel.thread__closeable_channel__type_ctor_info_closeable_channel_1, ^ symbol: variable thread__closeable_channel location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:51: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/closeable_channel_test.java:51: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ Mercury/javas/jmercury/closeable_channel_test.java:55: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0; ^ symbol: variable builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:60: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:68: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:75: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:83: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:91: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/closeable_channel_test.java:93: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/closeable_channel_test.java:116: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/closeable_channel_test.java:119: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/closeable_channel_test.java:134: 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/closeable_channel_test.java:135: 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/closeable_channel_test.java:145: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/closeable_channel_test.java:146: 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 closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:146: 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/closeable_channel_test.java:147: 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 closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:147: 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/closeable_channel_test.java:150: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/closeable_channel_test.java:177: error: cannot find symbol ((java.lang.Object) (thread__semaphore.thread__semaphore__type_ctor_info_semaphore_0)), ^ symbol: variable thread__semaphore location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:177: error: illegal start of type ((java.lang.Object) (thread__semaphore.thread__semaphore__type_ctor_info_semaphore_0)), ^ Mercury/javas/jmercury/closeable_channel_test.java:178: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:178: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/closeable_channel_test.java:179: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:179: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/closeable_channel_test.java:188: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:188: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/closeable_channel_test.java:189: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:189: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/closeable_channel_test.java:190: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:190: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/closeable_channel_test.java:197: error: cannot find symbol ((java.lang.Object) (thread__semaphore.thread__semaphore__type_ctor_info_semaphore_0)), ^ symbol: variable thread__semaphore location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:197: error: illegal start of type ((java.lang.Object) (thread__semaphore.thread__semaphore__type_ctor_info_semaphore_0)), ^ Mercury/javas/jmercury/closeable_channel_test.java:198: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:198: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/closeable_channel_test.java:199: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:199: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/closeable_channel_test.java:219: error: package list does not exist list.List_1 List_6 = null; ^ Mercury/javas/jmercury/closeable_channel_test.java:220: 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_int_0); ^ Mercury/javas/jmercury/closeable_channel_test.java:220: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:220: 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_int_0); ^ Mercury/javas/jmercury/closeable_channel_test.java:221: error: package thread__closeable_channel does not exist thread__closeable_channel.Take_result_1 TakeResult_8 = null; ^ Mercury/javas/jmercury/closeable_channel_test.java:224: error: cannot find symbol TakeResult_8 = thread__closeable_channel.take_4_p_0(TypeCtorInfo_14_14, Ch_5); ^ symbol: variable thread__closeable_channel location: class closeable_channel_test Mercury/javas/jmercury/closeable_channel_test.java:227: error: package list does not exist List_6 = (list.List_1) closeable_channel_test.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/closeable_channel_test.java:230: error: package thread__closeable_channel.Take_result_1 does not exist int Head_9 = ((java.lang.Integer) (((thread__closeable_channel.Take_result_1.Ok_1) TakeResult_8).F1)).intValue(); ^ Mercury/javas/jmercury/closeable_channel_test.java:230: error: illegal start of type int Head_9 = ((java.lang.Integer) (((thread__closeable_channel.Take_result_1.Ok_1) TakeResult_8).F1)).intValue(); ^ Mercury/javas/jmercury/closeable_channel_test.java:231: error: package list does not exist list.List_1 Tail_10 = null; ^ Mercury/javas/jmercury/closeable_channel_test.java:237: error: package list.List_1 does not exist List_6 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/closeable_channel_test.java:249: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore X_1 = null; ^ Mercury/javas/jmercury/closeable_channel_test.java:257: error: package jmercury.runtime does not exist X_1 = ((jmercury.runtime.Semaphore) X); ^ Mercury/javas/jmercury/closeable_channel_test.java:265: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore X_1 = null; ^ Mercury/javas/jmercury/closeable_channel_test.java:269: error: cannot find symbol X_1 = thread__semaphore.impure_init_1_f_0(Var_2); ^ symbol: variable thread__semaphore location: class closeable_channel_test 100 errors make[3]: *** [/tmp/mmake.pJEwfg:2360: closeable_channel_test] Error 1 make[3]: Target 'closeable_channel_test.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'