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 - lexer_zero.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 - lexer_zero Making Mercury/int3s/lexer_zero.int3 Making Mercury/ints/lexer_zero.int Making Mercury/javas/jmercury/lexer_zero.java Making Java class files Mercury/javas/jmercury/lexer_zero.java:32: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_1 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/lexer_zero.java:119: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 HeadVar__1_1) ^ Mercury/javas/jmercury/lexer_zero.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "lexer_zero"; ^ Mercury/javas/jmercury/lexer_zero.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/lexer_zero.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/lexer_zero.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/lexer_zero.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/lexer_zero.java:32: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_1 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/lexer_zero.java:36: error: package io does not exist new io.Posn_0( ^ Mercury/javas/jmercury/lexer_zero.java:52: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 Tokens_4 = null; ^ Mercury/javas/jmercury/lexer_zero.java:53: error: package io does not exist io.Res_1 OpenRes_5 = null; ^ Mercury/javas/jmercury/lexer_zero.java:57: error: cannot find symbol Tokens_4 = mercury_term_lexer.get_token_list_3_p_0(); ^ symbol: variable mercury_term_lexer location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:63: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:67: error: cannot find symbol OpenRes_5 = io.open_input_4_p_0(Var_19); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:71: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/lexer_zero.java:71: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:71: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/lexer_zero.java:72: error: package io does not exist io.Error_0 Error_29 = ((io.Res_1.Error_1) OpenRes_5).F1; ^ Mercury/javas/jmercury/lexer_zero.java:72: error: package io.Res_1 does not exist io.Error_0 Error_29 = ((io.Res_1.Error_1) OpenRes_5).F1; ^ Mercury/javas/jmercury/lexer_zero.java:75: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_31_31, ((java.lang.Object) (Error_29))); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:80: error: package io does not exist io.Text_input_stream_0 Stream_6 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_5).F1); ^ Mercury/javas/jmercury/lexer_zero.java:80: error: package io does not exist io.Text_input_stream_0 Stream_6 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_5).F1); ^ Mercury/javas/jmercury/lexer_zero.java:80: error: package io.Res_1 does not exist io.Text_input_stream_0 Stream_6 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_5).F1); ^ Mercury/javas/jmercury/lexer_zero.java:81: error: package io does not exist io.Maybe_partial_res_1 ReadRes_7 = null; ^ Mercury/javas/jmercury/lexer_zero.java:84: error: cannot find symbol ReadRes_7 = io.read_file_as_string_4_p_0(Stream_6); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:88: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/lexer_zero.java:88: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:88: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0); ^ Mercury/javas/jmercury/lexer_zero.java:89: error: package io does not exist io.Error_0 Error_13 = ((io.Maybe_partial_res_1.Error_2) ReadRes_7).F2; ^ Mercury/javas/jmercury/lexer_zero.java:89: error: package io.Maybe_partial_res_1 does not exist io.Error_0 Error_13 = ((io.Maybe_partial_res_1.Error_2) ReadRes_7).F2; ^ Mercury/javas/jmercury/lexer_zero.java:92: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_30_30, ((java.lang.Object) (Error_13))); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:97: error: package io.Maybe_partial_res_1 does not exist java.lang.String String_8 = ((java.lang.String) ((io.Maybe_partial_res_1.Ok_1) ReadRes_7).F1); ^ Mercury/javas/jmercury/lexer_zero.java:98: error: package io does not exist io.Posn_0 Posn0_9 = (io.Posn_0) lexer_zero.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/lexer_zero.java:98: error: package io does not exist io.Posn_0 Posn0_9 = (io.Posn_0) lexer_zero.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/lexer_zero.java:99: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 StringTokens_10 = null; ^ Mercury/javas/jmercury/lexer_zero.java:100: error: package io does not exist io.Posn_0 _Posn_11 = null; ^ Mercury/javas/jmercury/lexer_zero.java:103: error: cannot find symbol java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(String_8, Posn0_9); ^ symbol: variable mercury_term_lexer location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:104: error: package mercury_term_lexer does not exist StringTokens_10 = (mercury_term_lexer.Token_list_0) result[0]; ^ Mercury/javas/jmercury/lexer_zero.java:105: error: package io does not exist _Posn_11 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/lexer_zero.java:112: error: cannot find symbol io.close_input_3_p_0(Stream_6); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:126: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = null; ^ Mercury/javas/jmercury/lexer_zero.java:127: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_0 Token_7 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/lexer_zero.java:127: error: package mercury_term_lexer.Token_list_0 does not exist mercury_term_lexer.Token_0 Token_7 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/lexer_zero.java:128: error: package mercury_term_lexer.Token_list_0 does not exist int Context_8 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/lexer_zero.java:129: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 List_9 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F3; ^ Mercury/javas/jmercury/lexer_zero.java:129: error: package mercury_term_lexer.Token_list_0 does not exist mercury_term_lexer.Token_list_0 List_9 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F3; ^ Mercury/javas/jmercury/lexer_zero.java:131: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/lexer_zero.java:134: error: cannot find symbol io.write_int_3_p_0(Context_8); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:138: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:140: error: cannot find symbol TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_0); ^ symbol: variable mercury_term_lexer location: class lexer_zero Mercury/javas/jmercury/lexer_zero.java:140: error: package jmercury.runtime does not exist TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_0); ^ Mercury/javas/jmercury/lexer_zero.java:142: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_17_17, ((java.lang.Object) (Token_7))); ^ symbol: variable io location: class lexer_zero 58 errors make[3]: *** [/tmp/mmake.NBqKtz:2364: lexer_zero] Error 1 make[3]: Target 'lexer_zero.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded'