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 - stream_putback_binary.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 - stream_putback_binary Making Mercury/int3s/stream_putback_binary.int3 Making Mercury/ints/stream_putback_binary.int Making Mercury/javas/jmercury/stream_putback_binary.java Making Java class files Mercury/javas/jmercury/stream_putback_binary.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[2]; ^ Mercury/javas/jmercury/stream_putback_binary.java:133: error: package io does not exist io.Binary_input_stream_0 Stream_4) ^ Mercury/javas/jmercury/stream_putback_binary.java:163: error: package io does not exist io.Binary_input_stream_0 Stream_5, ^ Mercury/javas/jmercury/stream_putback_binary.java:194: error: package io does not exist io.Binary_input_stream_0 Stream_4) ^ Mercury/javas/jmercury/stream_putback_binary.java:256: error: package io does not exist io.Binary_input_stream_0 Stream_5, ^ Mercury/javas/jmercury/stream_putback_binary.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "stream_putback_binary"; ^ Mercury/javas/jmercury/stream_putback_binary.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/stream_putback_binary.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/stream_putback_binary.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/stream_putback_binary.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/stream_putback_binary.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[2]; ^ Mercury/javas/jmercury/stream_putback_binary.java:36: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/stream_putback_binary.java:37: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/stream_putback_binary.java:38: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/stream_putback_binary.java:39: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/stream_putback_binary.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/stream_putback_binary.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/stream_putback_binary.java:44: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/stream_putback_binary.java:45: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/stream_putback_binary.java:46: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/stream_putback_binary.java:47: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/stream_putback_binary.java:48: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/stream_putback_binary.java:49: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K1 ^ Mercury/javas/jmercury/stream_putback_binary.java:62: error: package io does not exist io.Res_1 OpenRes_4 = null; ^ Mercury/javas/jmercury/stream_putback_binary.java:66: error: cannot find symbol OpenRes_4 = io.open_binary_input_4_p_0(Var_9); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:70: error: package io does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) OpenRes_4).F1; ^ Mercury/javas/jmercury/stream_putback_binary.java:70: error: package io.Res_1 does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) OpenRes_4).F1; ^ Mercury/javas/jmercury/stream_putback_binary.java:74: error: cannot find symbol Var_27 = io.error_message_1_f_0(Error_6); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:77: error: cannot find symbol require.error_1_p_0(Var_27); ^ symbol: variable require location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:82: error: package io does not exist io.Binary_input_stream_0 Stream_5 = ((io.Binary_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/stream_putback_binary.java:82: error: package io does not exist io.Binary_input_stream_0 Stream_5 = ((io.Binary_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/stream_putback_binary.java:82: error: package io.Res_1 does not exist io.Binary_input_stream_0 Stream_5 = ((io.Binary_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/stream_putback_binary.java:126: error: cannot find symbol io.close_binary_input_3_p_0(Stream_5); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:138: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_24 = null; ^ Mercury/javas/jmercury/stream_putback_binary.java:142: error: cannot find symbol Offset_6 = io.binary_input_stream_offset_4_p_0(Stream_4); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:146: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:148: error: package string__parse_util does not exist Var_24 = (string__parse_util.String_format_flags_0) stream_putback_binary.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/stream_putback_binary.java:150: error: cannot find symbol Var_18 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_24, Offset_6); ^ symbol: variable string__format location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:153: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:157: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:166: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/stream_putback_binary.java:171: error: cannot find symbol Var_10 = mr_char.to_int_1_f_0(Char_6); ^ symbol: variable mr_char location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:174: error: cannot find symbol io.putback_byte_4_p_0(Stream_5, Var_10); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:178: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:180: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:180: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/stream_putback_binary.java:182: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_16_16, java.lang.Integer.valueOf(Char_6)); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:185: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:196: error: package io does not exist io.Result_1 ReadRes_6 = null; ^ Mercury/javas/jmercury/stream_putback_binary.java:199: error: cannot find symbol ReadRes_6 = io.read_byte_4_p_0(Stream_4); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:201: error: illegal start of type switch (ReadRes_6.data_tag) { ^ Mercury/javas/jmercury/stream_putback_binary.java:204: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = null; ^ Mercury/javas/jmercury/stream_putback_binary.java:205: error: package io.Result_1 does not exist int Byte_7 = ((java.lang.Integer) (((io.Result_1.Ok_1) ReadRes_6).F1)).intValue(); ^ Mercury/javas/jmercury/stream_putback_binary.java:205: error: illegal start of type int Byte_7 = ((java.lang.Integer) (((io.Result_1.Ok_1) ReadRes_6).F1)).intValue(); ^ Mercury/javas/jmercury/stream_putback_binary.java:210: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:213: error: cannot find symbol Var_14 = mr_char.det_from_int_1_f_0(Byte_7); ^ symbol: variable mr_char location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:215: error: cannot find symbol TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:215: error: package jmercury.runtime does not exist TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/stream_putback_binary.java:217: error: cannot find symbol io.write_3_p_0(TypeCtorInfo_20_20, java.lang.Integer.valueOf(Var_14)); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:220: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:229: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:235: error: package io does not exist io.Error_0 Error_8 = ((io.Result_1.Error_1) ReadRes_6).F1; ^ Mercury/javas/jmercury/stream_putback_binary.java:235: error: package io.Result_1 does not exist io.Error_0 Error_8 = ((io.Result_1.Error_1) ReadRes_6).F1; ^ Mercury/javas/jmercury/stream_putback_binary.java:239: error: cannot find symbol Var_19 = io.error_message_1_f_0(Error_8); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:242: error: cannot find symbol require.error_1_p_0(Var_19); ^ symbol: variable require location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:247: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/stream_putback_binary.java:259: error: package io does not exist io.Whence_0 Var_10 = io.Whence_0.K1; ^ Mercury/javas/jmercury/stream_putback_binary.java:259: error: package io does not exist io.Whence_0 Var_10 = io.Whence_0.K1; ^ Mercury/javas/jmercury/stream_putback_binary.java:262: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_26 = null; ^ Mercury/javas/jmercury/stream_putback_binary.java:266: error: cannot find symbol io.seek_binary_input_5_p_0(Stream_5, Var_10, Offset_6); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:270: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:272: error: package string__parse_util does not exist Var_26 = (string__parse_util.String_format_flags_0) stream_putback_binary.MR_scalar_common_1[1]; ^ Mercury/javas/jmercury/stream_putback_binary.java:274: error: cannot find symbol Var_20 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_26, Offset_6); ^ symbol: variable string__format location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:277: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class stream_putback_binary Mercury/javas/jmercury/stream_putback_binary.java:281: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class stream_putback_binary 81 errors make[3]: *** [/tmp/mmake.FoC31N:2360: stream_putback_binary] Error 1 make[3]: Target 'stream_putback_binary.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'