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 - impl_def_lex_string.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 - impl_def_lex_string Making Mercury/int3s/impl_def_lex_string.int3 impl_def_lex_string.m:019: Warning: this `:- import_module' declaration for impl_def_lex_string.m:019: module `io' in the implementation section is impl_def_lex_string.m:019: redundant, given the `:- import_module' impl_def_lex_string.m:019: declaration for the same module in the interface impl_def_lex_string.m:019: section. impl_def_lex_string.m:010: The previous `:- import_module' declaration was impl_def_lex_string.m:010: here. Making Mercury/ints/impl_def_lex_string.int impl_def_lex_string.m:019: Warning: this `:- import_module' declaration for impl_def_lex_string.m:019: module `io' in the implementation section is impl_def_lex_string.m:019: redundant, given the `:- import_module' impl_def_lex_string.m:019: declaration for the same module in the interface impl_def_lex_string.m:019: section. impl_def_lex_string.m:010: The previous `:- import_module' declaration was impl_def_lex_string.m:010: here. Making Mercury/javas/jmercury/impl_def_lex_string.java impl_def_lex_string.m:019: Warning: this `:- import_module' declaration for impl_def_lex_string.m:019: module `io' in the implementation section is impl_def_lex_string.m:019: redundant, given the `:- import_module' impl_def_lex_string.m:019: declaration for the same module in the interface impl_def_lex_string.m:019: section. impl_def_lex_string.m:010: The previous `:- import_module' declaration was impl_def_lex_string.m:010: here. Making Java class files Mercury/javas/jmercury/impl_def_lex_string.java:32: 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/impl_def_lex_string.java:33: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_2 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "impl_def_lex_string"; ^ Mercury/javas/jmercury/impl_def_lex_string.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/impl_def_lex_string.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/impl_def_lex_string.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/impl_def_lex_string.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/impl_def_lex_string.java:32: 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/impl_def_lex_string.java:33: error: package io does not exist private static final io.Posn_0[] MR_scalar_common_2 = new io.Posn_0[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:37: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/impl_def_lex_string.java:38: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:38: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/impl_def_lex_string.java:39: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_list_0))), ^ symbol: variable mercury_term_lexer location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:39: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_list_0))), ^ Mercury/javas/jmercury/impl_def_lex_string.java:40: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_posn_0))) ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:40: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_posn_0))) ^ Mercury/javas/jmercury/impl_def_lex_string.java:43: error: package io does not exist new io.Posn_0( ^ Mercury/javas/jmercury/impl_def_lex_string.java:59: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_44_44 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:60: error: package io does not exist io.Posn_0 InitialPos_4 = (io.Posn_0) impl_def_lex_string.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:60: error: package io does not exist io.Posn_0 InitialPos_4 = (io.Posn_0) impl_def_lex_string.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:61: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 TokensA_5 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:62: error: package io does not exist io.Posn_0 FinalPosA_6 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:63: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 TokensB_7 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:64: error: package io does not exist io.Posn_0 FinalPosB_8 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:65: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 TokensC_9 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:66: error: package io does not exist io.Posn_0 FinalPosC_10 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:67: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 TokensD_11 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:68: error: package io does not exist io.Posn_0 FinalPosD_12 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:69: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 TokensE_13 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:70: error: package io does not exist io.Posn_0 FinalPosE_14 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:71: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 TokensF_15 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:72: error: package io does not exist io.Posn_0 FinalPosF_16 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:73: error: package mercury_term_lexer does not exist mercury_term_lexer.Token_list_0 TokensG_17 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:74: error: package io does not exist io.Posn_0 FinalPosG_18 = null; ^ Mercury/javas/jmercury/impl_def_lex_string.java:91: error: cannot find symbol java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(Var_24, InitialPos_4); ^ symbol: variable mercury_term_lexer location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:92: error: package mercury_term_lexer does not exist TokensA_5 = (mercury_term_lexer.Token_list_0) result[0]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:93: error: package io does not exist FinalPosA_6 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:101: error: package jmercury.runtime does not exist TypeInfo_44_44 = jmercury.runtime.TypeInfo_Struct.maybe_new(impl_def_lex_string.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/impl_def_lex_string.java:103: error: cannot find symbol io.write_line_3_p_0(TypeInfo_44_44, ((java.lang.Object) (Var_25))); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:107: error: cannot find symbol java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(Var_27, InitialPos_4); ^ symbol: variable mercury_term_lexer location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:108: error: package mercury_term_lexer does not exist TokensB_7 = (mercury_term_lexer.Token_list_0) result[0]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:109: error: package io does not exist FinalPosB_8 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:118: error: cannot find symbol io.write_line_3_p_0(TypeInfo_44_44, ((java.lang.Object) (Var_28))); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:122: error: cannot find symbol java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(Var_30, InitialPos_4); ^ symbol: variable mercury_term_lexer location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:123: error: package mercury_term_lexer does not exist TokensC_9 = (mercury_term_lexer.Token_list_0) result[0]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:124: error: package io does not exist FinalPosC_10 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:133: error: cannot find symbol io.write_line_3_p_0(TypeInfo_44_44, ((java.lang.Object) (Var_31))); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:137: error: cannot find symbol java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(Var_33, InitialPos_4); ^ symbol: variable mercury_term_lexer location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:138: error: package mercury_term_lexer does not exist TokensD_11 = (mercury_term_lexer.Token_list_0) result[0]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:139: error: package io does not exist FinalPosD_12 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:148: error: cannot find symbol io.write_line_3_p_0(TypeInfo_44_44, ((java.lang.Object) (Var_34))); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:152: error: cannot find symbol java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(Var_36, InitialPos_4); ^ symbol: variable mercury_term_lexer location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:153: error: package mercury_term_lexer does not exist TokensE_13 = (mercury_term_lexer.Token_list_0) result[0]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:154: error: package io does not exist FinalPosE_14 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:163: error: cannot find symbol io.write_line_3_p_0(TypeInfo_44_44, ((java.lang.Object) (Var_37))); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:167: error: cannot find symbol java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(Var_39, InitialPos_4); ^ symbol: variable mercury_term_lexer location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:168: error: package mercury_term_lexer does not exist TokensF_15 = (mercury_term_lexer.Token_list_0) result[0]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:169: error: package io does not exist FinalPosF_16 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:178: error: cannot find symbol io.write_line_3_p_0(TypeInfo_44_44, ((java.lang.Object) (Var_40))); ^ symbol: variable io location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:182: error: cannot find symbol java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(Var_42, InitialPos_4); ^ symbol: variable mercury_term_lexer location: class impl_def_lex_string Mercury/javas/jmercury/impl_def_lex_string.java:183: error: package mercury_term_lexer does not exist TokensG_17 = (mercury_term_lexer.Token_list_0) result[0]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:184: error: package io does not exist FinalPosG_18 = (io.Posn_0) result[1]; ^ Mercury/javas/jmercury/impl_def_lex_string.java:193: error: cannot find symbol io.write_line_3_p_0(TypeInfo_44_44, ((java.lang.Object) (Var_43))); ^ symbol: variable io location: class impl_def_lex_string 69 errors make[3]: *** [/tmp/mmake.qRPCMG:2360: impl_def_lex_string] Error 1 make[3]: Target 'impl_def_lex_string.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' ERROR OUTPUT impl_def_lex_string.m:019: Warning: this `:- import_module' declaration for impl_def_lex_string.m:019: module `io' in the implementation section is impl_def_lex_string.m:019: redundant, given the `:- import_module' impl_def_lex_string.m:019: declaration for the same module in the interface impl_def_lex_string.m:019: section. impl_def_lex_string.m:010: The previous `:- import_module' declaration was impl_def_lex_string.m:010: here. impl_def_lex_string.m:019: Warning: this `:- import_module' declaration for impl_def_lex_string.m:019: module `io' in the implementation section is impl_def_lex_string.m:019: redundant, given the `:- import_module' impl_def_lex_string.m:019: declaration for the same module in the interface impl_def_lex_string.m:019: section. impl_def_lex_string.m:010: The previous `:- import_module' declaration was impl_def_lex_string.m:010: here. impl_def_lex_string.m:019: Warning: this `:- import_module' declaration for impl_def_lex_string.m:019: module `io' in the implementation section is impl_def_lex_string.m:019: redundant, given the `:- import_module' impl_def_lex_string.m:019: declaration for the same module in the interface impl_def_lex_string.m:019: section. impl_def_lex_string.m:010: The previous `:- import_module' declaration was impl_def_lex_string.m:010: here. END OF THE ERROR OUTPUT