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 --no-warn-unresolved-polymorphism '; 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 - term_io_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 --no-warn-unresolved-polymorphism '; 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 - term_io_test Making Mercury/int3s/term_io_test.int3 Making Mercury/ints/term_io_test.int Making Mercury/javas/jmercury/term_io_test.java Making Java class files Mercury/javas/jmercury/term_io_test.java:32: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_1 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/term_io_test.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "term_io_test"; ^ Mercury/javas/jmercury/term_io_test.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/term_io_test.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/term_io_test.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class term_io_test Mercury/javas/jmercury/term_io_test.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class term_io_test Mercury/javas/jmercury/term_io_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/term_io_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/term_io_test.java:32: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_1 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/term_io_test.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/term_io_test.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/term_io_test.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/term_io_test.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/term_io_test.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/term_io_test.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/term_io_test.java:56: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_void_0); ^ Mercury/javas/jmercury/term_io_test.java:56: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_void_0); ^ symbol: variable builtin location: class term_io_test Mercury/javas/jmercury/term_io_test.java:56: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_void_0); ^ Mercury/javas/jmercury/term_io_test.java:57: error: package mercury_term_parser does not exist mercury_term_parser.Read_term_1 Res0_4 = null; ^ Mercury/javas/jmercury/term_io_test.java:61: error: cannot find symbol Res0_4 = mercury_term_parser.read_term_3_p_0(TypeCtorInfo_23_23); ^ symbol: variable mercury_term_parser location: class term_io_test Mercury/javas/jmercury/term_io_test.java:63: error: illegal start of type switch (Res0_4.data_tag) { ^ Mercury/javas/jmercury/term_io_test.java:70: error: package mercury_term_parser.Read_term_1 does not exist java.lang.String Msg_7 = ((mercury_term_parser.Read_term_1.Error_2) Res0_4).F1; ^ Mercury/javas/jmercury/term_io_test.java:71: error: package mercury_term_parser.Read_term_1 does not exist int Line_8 = ((mercury_term_parser.Read_term_1.Error_2) Res0_4).F2; ^ Mercury/javas/jmercury/term_io_test.java:72: error: package io does not exist io.Text_output_stream_0 StdErr_9 = null; ^ Mercury/javas/jmercury/term_io_test.java:74: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_31 = null; ^ Mercury/javas/jmercury/term_io_test.java:79: error: cannot find symbol StdErr_9 = io.stderr_stream_3_p_0(); ^ symbol: variable io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:81: error: package string__parse_util does not exist Var_31 = (string__parse_util.String_format_flags_0) term_io_test.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/term_io_test.java:83: error: cannot find symbol Var_25 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_31, Line_8); ^ symbol: variable string__format location: class term_io_test Mercury/javas/jmercury/term_io_test.java:86: error: cannot find symbol io.write_string_4_p_0(StdErr_9, Var_25); ^ symbol: variable io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:90: error: cannot find symbol io.write_string_4_p_0(StdErr_9, Var_33); ^ symbol: variable io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:93: error: cannot find symbol io.write_string_4_p_0(StdErr_9, Msg_7); ^ symbol: variable io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:97: error: cannot find symbol io.write_string_4_p_0(StdErr_9, Var_35); ^ symbol: variable io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:104: error: package varset does not exist varset.Varset_1 VarSet_5 = ((mercury_term_parser.Read_term_1.Term_2) Res0_4).F1; ^ Mercury/javas/jmercury/term_io_test.java:104: error: package mercury_term_parser.Read_term_1 does not exist varset.Varset_1 VarSet_5 = ((mercury_term_parser.Read_term_1.Term_2) Res0_4).F1; ^ Mercury/javas/jmercury/term_io_test.java:105: error: package term does not exist term.Term_1 Term_6 = ((mercury_term_parser.Read_term_1.Term_2) Res0_4).F2; ^ Mercury/javas/jmercury/term_io_test.java:105: error: package mercury_term_parser.Read_term_1 does not exist term.Term_1 Term_6 = ((mercury_term_parser.Read_term_1.Term_2) Res0_4).F2; ^ Mercury/javas/jmercury/term_io_test.java:108: error: cannot find symbol term_io.write_term_nl_4_p_0(TypeCtorInfo_23_23, VarSet_5, Term_6); ^ symbol: variable term_io location: class term_io_test Mercury/javas/jmercury/term_io_test.java:114: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 42 errors make[3]: *** [/tmp/mmake.xTv6Hd:2360: term_io_test] Error 1 make[3]: Target 'term_io_test.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'