MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/scripts/mmc --make --options-file - string_code_unit.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/scripts/mmc --make --options-file - string_code_unit Making Mercury/int3s/string_code_unit.int3 Making Mercury/ints/string_code_unit.int Making Mercury/javas/jmercury/string_code_unit.java Making Java class files Mercury/javas/jmercury/string_code_unit.java:32: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_1 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_code_unit.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/string_code_unit.java:37: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_code_unit.java:384: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_code_unit.java:403: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_code_unit.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_code_unit"; ^ Mercury/javas/jmercury/string_code_unit.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_code_unit.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_code_unit.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_code_unit.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_code_unit.java:32: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_1 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/string_code_unit.java:33: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/string_code_unit.java:37: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_code_unit.java:41: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_code_unit.java:43: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_code_unit.java:45: error: package list does not exist (list.List_1) string_code_unit.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/string_code_unit.java:48: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_code_unit.java:50: error: package list does not exist (list.List_1) string_code_unit.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_code_unit.java:53: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_code_unit.java:55: error: package list does not exist (list.List_1) string_code_unit.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/string_code_unit.java:58: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_code_unit.java:60: error: package list does not exist (list.List_1) string_code_unit.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/string_code_unit.java:63: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_code_unit.java:65: error: package list does not exist (list.List_1) string_code_unit.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/string_code_unit.java:68: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_code_unit.java:70: error: package list does not exist (list.List_1) string_code_unit.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/string_code_unit.java:73: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_code_unit.java:75: error: package list does not exist (list.List_1) string_code_unit.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/string_code_unit.java:82: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:82: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_code_unit.java:83: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:83: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_code_unit.java:84: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:84: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_code_unit.java:91: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:91: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/string_code_unit.java:92: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:92: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_code_unit.java:93: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:93: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_code_unit.java:106: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:106: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/string_code_unit.java:107: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:107: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/string_code_unit.java:134: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_code_unit.java:135: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_code_unit.java:136: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_code_unit.java:137: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K1, ^ Mercury/javas/jmercury/string_code_unit.java:138: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_code_unit.java:139: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_code_unit.java:152: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_code_unit.java:152: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:152: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_code_unit.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_code_unit.java:153: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_code_unit.java:154: error: package list does not exist list.List_1 Strings_4 = (list.List_1) string_code_unit.MR_scalar_common_2[6]; ^ Mercury/javas/jmercury/string_code_unit.java:154: error: package list does not exist list.List_1 Strings_4 = (list.List_1) string_code_unit.MR_scalar_common_2[6]; ^ Mercury/javas/jmercury/string_code_unit.java:159: error: cannot find symbol conv0_STATE_VARIABLE_IO_6 = list.foldl_4_p_2(TypeCtorInfo_25_25, TypeCtorInfo_26_26, Var_21, Strings_4, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:183: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_31 = null; ^ Mercury/javas/jmercury/string_code_unit.java:184: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_32 = null; ^ Mercury/javas/jmercury/string_code_unit.java:185: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_35 = null; ^ Mercury/javas/jmercury/string_code_unit.java:186: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_38 = null; ^ Mercury/javas/jmercury/string_code_unit.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_41 = null; ^ Mercury/javas/jmercury/string_code_unit.java:188: error: package list does not exist list.List_1 Chars_6 = null; ^ Mercury/javas/jmercury/string_code_unit.java:189: error: package list does not exist list.List_1 UTF8_7 = null; ^ Mercury/javas/jmercury/string_code_unit.java:190: error: package list does not exist list.List_1 UTF16_8 = null; ^ Mercury/javas/jmercury/string_code_unit.java:194: error: package list does not exist list.List_1 Var_29 = null; ^ Mercury/javas/jmercury/string_code_unit.java:206: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:209: error: cannot find symbol Chars_6 = string.to_char_list_2_p_0(String_4); ^ symbol: variable string location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:211: error: cannot find symbol TypeCtorInfo_11_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:211: error: package jmercury.runtime does not exist TypeCtorInfo_11_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/string_code_unit.java:212: error: cannot find symbol TypeCtorInfo_12_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:212: error: package jmercury.runtime does not exist TypeCtorInfo_12_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/string_code_unit.java:215: error: cannot find symbol Var_29 = list.map_2_f_0(TypeCtorInfo_11_31, TypeCtorInfo_12_32, Var_30, Chars_6); ^ symbol: variable list location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:219: error: cannot find symbol TypeCtorInfo_13_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:219: error: package jmercury.runtime does not exist TypeCtorInfo_13_35 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/string_code_unit.java:221: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_13_35, Var_29, Var_33, Var_34); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:224: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:227: error: cannot find symbol UTF8_7 = string.to_utf8_code_unit_list_2_p_0(String_4); ^ symbol: variable string location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:231: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:235: error: cannot find symbol TypeCtorInfo_13_38 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:235: error: package jmercury.runtime does not exist TypeCtorInfo_13_38 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/string_code_unit.java:237: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_13_38, UTF8_7, Var_36, Var_37); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:240: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:243: error: cannot find symbol java.lang.Object [] result = string.from_utf8_code_unit_list_2_p_0(UTF8_7); ^ symbol: variable string location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:254: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:258: error: cannot find symbol UTF16_8 = string.to_utf16_code_unit_list_2_p_0(String_4); ^ symbol: variable string location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:262: error: cannot find symbol io.write_string_3_p_0(Var_21); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:266: error: cannot find symbol TypeCtorInfo_13_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:266: error: package jmercury.runtime does not exist TypeCtorInfo_13_41 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/string_code_unit.java:268: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_13_41, UTF16_8, Var_39, Var_40); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:271: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_code_unit Mercury/javas/jmercury/string_code_unit.java:274: error: cannot find symbol java.lang.Object [] result = string.from_utf16_code_unit_list_2_p_0(UTF16_8); ^ symbol: variable string location: class string_code_unit 100 errors make[3]: *** [/tmp/mmake.ONo5oM:2364: string_code_unit] Error 1 make[3]: Target 'string_code_unit.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/hard_coded'