MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/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-09-30/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/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-09-30/stage2/scripts/mmc --make --options-file - nonascii.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/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-09-30/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/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-09-30/stage2/scripts/mmc --make --options-file - nonascii Making Mercury/int3s/nonascii.int3 Making Mercury/ints/nonascii.int Making Mercury/javas/jmercury/nonascii.java Making Java class files Mercury/javas/jmercury/nonascii.java:206: error: package io does not exist io.Text_input_stream_0 Stream_5, ^ Mercury/javas/jmercury/nonascii.java:284: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/nonascii.java:303: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/nonascii.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "nonascii"; ^ Mercury/javas/jmercury/nonascii.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/nonascii.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/nonascii.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class nonascii Mercury/javas/jmercury/nonascii.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class nonascii Mercury/javas/jmercury/nonascii.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/nonascii.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/nonascii.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class nonascii Mercury/javas/jmercury/nonascii.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/nonascii.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class nonascii Mercury/javas/jmercury/nonascii.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/nonascii.java:56: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class nonascii Mercury/javas/jmercury/nonascii.java:56: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/nonascii.java:57: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:57: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/nonascii.java:58: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:58: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/nonascii.java:77: error: package io does not exist io.Res_1 Result_4 = null; ^ Mercury/javas/jmercury/nonascii.java:81: error: cannot find symbol Result_4 = io.open_input_4_p_0(Var_10); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:85: error: package io does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) Result_4).F1; ^ Mercury/javas/jmercury/nonascii.java:85: error: package io.Res_1 does not exist io.Error_0 Error_6 = ((io.Res_1.Error_1) Result_4).F1; ^ Mercury/javas/jmercury/nonascii.java:89: error: cannot find symbol Msg_7 = io.error_message_2_p_0(Error_6); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:92: error: cannot find symbol io.write_string_3_p_0(Msg_7); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:95: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:100: error: package io does not exist io.Text_input_stream_0 Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) Result_4).F1); ^ Mercury/javas/jmercury/nonascii.java:100: error: package io does not exist io.Text_input_stream_0 Stream_5 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) Result_4).F1); ^ Mercury/javas/jmercury/nonascii.java:100: 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) Result_4).F1); ^ Mercury/javas/jmercury/nonascii.java:102: error: package io does not exist io.Result_1 Result_16 = null; ^ Mercury/javas/jmercury/nonascii.java:105: error: cannot find symbol Result_16 = io.read_line_as_string_4_p_0(Stream_5); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:107: error: illegal start of type switch (Result_16.data_tag) { ^ Mercury/javas/jmercury/nonascii.java:110: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_29 = null; ^ Mercury/javas/jmercury/nonascii.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_30 = null; ^ Mercury/javas/jmercury/nonascii.java:112: error: package io.Result_1 does not exist java.lang.String Line_17 = ((java.lang.String) ((io.Result_1.Ok_1) Result_16).F1); ^ Mercury/javas/jmercury/nonascii.java:113: error: package list does not exist list.List_1 Chars_18 = null; ^ Mercury/javas/jmercury/nonascii.java:114: error: package list does not exist list.List_1 Ints_19 = null; ^ Mercury/javas/jmercury/nonascii.java:120: error: cannot find symbol Chars_18 = string.to_char_list_1_f_0(Line_17); ^ symbol: variable string location: class nonascii Mercury/javas/jmercury/nonascii.java:122: error: cannot find symbol TypeCtorInfo_23_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class nonascii Mercury/javas/jmercury/nonascii.java:122: error: package jmercury.runtime does not exist TypeCtorInfo_23_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/nonascii.java:123: error: cannot find symbol TypeCtorInfo_24_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class nonascii Mercury/javas/jmercury/nonascii.java:123: error: package jmercury.runtime does not exist TypeCtorInfo_24_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/nonascii.java:126: error: cannot find symbol Ints_19 = list.map_2_f_0(TypeCtorInfo_23_29, TypeCtorInfo_24_30, Var_23, Chars_18); ^ symbol: variable list location: class nonascii Mercury/javas/jmercury/nonascii.java:131: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_24_30, Ints_19, Var_24, Var_25); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:134: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:143: error: cannot find symbol io.write_string_3_p_0(Var_27); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:149: error: package io does not exist io.Error_0 Error_20 = ((io.Result_1.Error_1) Result_16).F1; ^ Mercury/javas/jmercury/nonascii.java:149: error: package io.Result_1 does not exist io.Error_0 Error_20 = ((io.Result_1.Error_1) Result_16).F1; ^ Mercury/javas/jmercury/nonascii.java:153: error: cannot find symbol Msg_21 = io.error_message_2_p_0(Error_20); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:156: error: cannot find symbol io.write_string_3_p_0(Msg_21); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:159: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:164: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/nonascii.java:183: error: cannot find symbol conv0_HeadVar__2_2 = mr_char.to_int_1_f_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable mr_char location: class nonascii Mercury/javas/jmercury/nonascii.java:199: error: cannot find symbol io.write_int_3_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:218: error: package io does not exist io.Result_1 Result_8 = null; ^ Mercury/javas/jmercury/nonascii.java:224: error: cannot find symbol Result_8 = io.read_char_4_p_0(Stream_5); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:226: error: illegal start of type switch (Result_8.data_tag) { ^ Mercury/javas/jmercury/nonascii.java:229: error: package io.Result_1 does not exist int Char_9 = ((java.lang.Integer) (((io.Result_1.Ok_1) Result_8).F1)).intValue(); ^ Mercury/javas/jmercury/nonascii.java:229: error: illegal start of type int Char_9 = ((java.lang.Integer) (((io.Result_1.Ok_1) Result_8).F1)).intValue(); ^ Mercury/javas/jmercury/nonascii.java:233: error: cannot find symbol Int_10 = mr_char.to_int_1_f_0(Char_9); ^ symbol: variable mr_char location: class nonascii Mercury/javas/jmercury/nonascii.java:236: error: cannot find symbol io.write_int_3_p_0(Int_10); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:239: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:248: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:254: error: package io does not exist io.Error_0 Error_11 = ((io.Result_1.Error_1) Result_8).F1; ^ Mercury/javas/jmercury/nonascii.java:254: error: package io.Result_1 does not exist io.Error_0 Error_11 = ((io.Result_1.Error_1) Result_8).F1; ^ Mercury/javas/jmercury/nonascii.java:258: error: cannot find symbol Msg_12 = io.error_message_2_p_0(Error_11); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:261: error: cannot find symbol io.write_string_3_p_0(Msg_12); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:264: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class nonascii Mercury/javas/jmercury/nonascii.java:269: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 74 errors make[3]: *** [/tmp/mmake.ooGuCM:2366: nonascii] Error 1 cc nonascii_gen.c -o nonascii_gen ./nonascii_gen > nonascii.data make[3]: Target 'nonascii.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-30/tests/hard_coded'