MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - stream_putback.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - stream_putback Making Mercury/int3s/stream_putback.int3 Making Mercury/ints/stream_putback.int Making Mercury/javas/jmercury/stream_putback.java Making Java class files Mercury/javas/jmercury/stream_putback.java:99: error: package io does not exist io.Text_input_stream_0 Stream_4) ^ Mercury/javas/jmercury/stream_putback.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "stream_putback"; ^ Mercury/javas/jmercury/stream_putback.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/stream_putback.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/stream_putback.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class stream_putback Mercury/javas/jmercury/stream_putback.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class stream_putback Mercury/javas/jmercury/stream_putback.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/stream_putback.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 Mercury/javas/jmercury/stream_putback.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 Mercury/javas/jmercury/stream_putback.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 Mercury/javas/jmercury/stream_putback.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 Mercury/javas/jmercury/stream_putback.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/stream_putback.java:36: error: package io does not exist io.Res_1 OpenRes_4 = null; ^ Mercury/javas/jmercury/stream_putback.java:40: error: cannot find symbol OpenRes_4 = io.open_input_4_p_0(Var_9); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:44: error: package io does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) OpenRes_4).F1; ^ Mercury/javas/jmercury/stream_putback.java:44: 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.java:48: error: cannot find symbol Var_20 = io.error_message_1_f_0(Error_6); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:51: error: cannot find symbol require.error_1_p_0(Var_20); ^ symbol: variable require location: class stream_putback Mercury/javas/jmercury/stream_putback.java:56: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_24 = null; ^ Mercury/javas/jmercury/stream_putback.java:57: error: package io does not exist io.Text_input_stream_0 Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/stream_putback.java:57: error: package io does not exist io.Text_input_stream_0 Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/stream_putback.java:57: error: package io.Res_1 does not exist io.Text_input_stream_0 Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_4).F1); ^ Mercury/javas/jmercury/stream_putback.java:66: error: cannot find symbol io.putback_char_4_p_0(Stream_5, Var_12); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:70: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:72: error: cannot find symbol TypeCtorInfo_13_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class stream_putback Mercury/javas/jmercury/stream_putback.java:72: error: package jmercury.runtime does not exist TypeCtorInfo_13_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/stream_putback.java:74: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_13_24, java.lang.Integer.valueOf(Var_12)); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:92: error: cannot find symbol io.close_input_3_p_0(Stream_5); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:101: error: package io does not exist io.Result_1 ReadRes_6 = null; ^ Mercury/javas/jmercury/stream_putback.java:104: error: cannot find symbol ReadRes_6 = io.read_char_4_p_0(Stream_4); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:106: error: illegal start of type switch (ReadRes_6.data_tag) { ^ Mercury/javas/jmercury/stream_putback.java:109: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/stream_putback.java:110: error: package io.Result_1 does not exist int Char_7 = ((java.lang.Integer) (((io.Result_1.Ok_1) ReadRes_6).F1)).intValue(); ^ Mercury/javas/jmercury/stream_putback.java:110: error: illegal start of type int Char_7 = ((java.lang.Integer) (((io.Result_1.Ok_1) ReadRes_6).F1)).intValue(); ^ Mercury/javas/jmercury/stream_putback.java:114: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:116: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class stream_putback Mercury/javas/jmercury/stream_putback.java:116: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/stream_putback.java:118: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_18_18, java.lang.Integer.valueOf(Char_7)); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:127: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:133: error: package io does not exist io.Error_0 Error_8 = ((io.Result_1.Error_1) ReadRes_6).F1; ^ Mercury/javas/jmercury/stream_putback.java:133: 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.java:137: error: cannot find symbol Var_17 = io.error_message_1_f_0(Error_8); ^ symbol: variable io location: class stream_putback Mercury/javas/jmercury/stream_putback.java:140: error: cannot find symbol require.error_1_p_0(Var_17); ^ symbol: variable require location: class stream_putback Mercury/javas/jmercury/stream_putback.java:145: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 44 errors make[3]: *** [/tmp/mmake.WELi18:2364: stream_putback] Error 1 make[3]: Target 'stream_putback.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded'