MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/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-10-31/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/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-10-31/stage2/scripts/mmc --make --options-file - string_find_char.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/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-10-31/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/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-10-31/stage2/scripts/mmc --make --options-file - string_find_char Making Mercury/int3s/string_find_char.int3 Making Mercury/ints/string_find_char.int Making Mercury/javas/jmercury/string_find_char.java Making Java class files Mercury/javas/jmercury/string_find_char.java:32: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_1 = new string__parse_util.String_format_flags_0[2]; ^ Mercury/javas/jmercury/string_find_char.java:408: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_find_char.java:428: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr4 ^ Mercury/javas/jmercury/string_find_char.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_find_char"; ^ Mercury/javas/jmercury/string_find_char.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_find_char.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_find_char.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_find_char Mercury/javas/jmercury/string_find_char.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_find_char Mercury/javas/jmercury/string_find_char.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_find_char.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_find_char.java:32: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_1 = new string__parse_util.String_format_flags_0[2]; ^ Mercury/javas/jmercury/string_find_char.java:39: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_find_char.java:40: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_find_char.java:41: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_find_char.java:42: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_find_char.java:43: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_find_char.java:44: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_find_char.java:47: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_find_char.java:48: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_find_char.java:49: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_find_char.java:50: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_find_char.java:51: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K1, ^ Mercury/javas/jmercury/string_find_char.java:52: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_find_char.java:59: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class string_find_char Mercury/javas/jmercury/string_find_char.java:59: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/string_find_char.java:60: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:60: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_find_char.java:61: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:61: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_find_char.java:74: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class string_find_char Mercury/javas/jmercury/string_find_char.java:74: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/string_find_char.java:75: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class string_find_char Mercury/javas/jmercury/string_find_char.java:75: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/string_find_char.java:76: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class string_find_char Mercury/javas/jmercury/string_find_char.java:76: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/string_find_char.java:77: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:77: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_find_char.java:78: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:78: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_find_char.java:97: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_70 = null; ^ Mercury/javas/jmercury/string_find_char.java:98: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_71 = null; ^ Mercury/javas/jmercury/string_find_char.java:99: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_26_72 = null; ^ Mercury/javas/jmercury/string_find_char.java:110: error: package list does not exist list.List_1 CharList_62 = null; ^ Mercury/javas/jmercury/string_find_char.java:120: error: cannot find symbol Happy1_8 = string.count_code_units_2_p_0(Str0_4); ^ symbol: variable string location: class string_find_char Mercury/javas/jmercury/string_find_char.java:123: error: cannot find symbol A1_9 = string.count_code_units_2_p_0(Str1_5); ^ symbol: variable string location: class string_find_char Mercury/javas/jmercury/string_find_char.java:126: error: cannot find symbol Bar_10 = string.count_code_units_2_p_0(Str2_6); ^ symbol: variable string location: class string_find_char Mercury/javas/jmercury/string_find_char.java:129: error: cannot find symbol End_11 = string.count_code_units_2_p_0(Str_7); ^ symbol: variable string location: class string_find_char Mercury/javas/jmercury/string_find_char.java:132: error: cannot find symbol CharList_62 = string.to_char_list_2_p_0(Str_7); ^ symbol: variable string location: class string_find_char Mercury/javas/jmercury/string_find_char.java:135: error: cannot find symbol TypeCtorInfo_19_70 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class string_find_char Mercury/javas/jmercury/string_find_char.java:135: error: package jmercury.runtime does not exist TypeCtorInfo_19_70 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/string_find_char.java:136: error: cannot find symbol TypeCtorInfo_20_71 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:136: error: package jmercury.runtime does not exist TypeCtorInfo_20_71 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_find_char.java:138: error: cannot find symbol conv0_STATE_VARIABLE_IO_11_65 = list.foldl_4_p_2(TypeCtorInfo_19_70, TypeCtorInfo_20_71, Var_64, CharList_62, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_find_char Mercury/javas/jmercury/string_find_char.java:141: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:145: error: cannot find symbol TypeCtorInfo_26_72 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class string_find_char Mercury/javas/jmercury/string_find_char.java:145: error: package jmercury.runtime does not exist TypeCtorInfo_26_72 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/string_find_char.java:147: error: cannot find symbol java.lang.Object [] result = list.foldl2_6_p_2(TypeCtorInfo_19_70, TypeCtorInfo_26_72, TypeCtorInfo_20_71, Var_67, CharList_62, java.lang.Integer.valueOf(Var_68), ((java.lang.Object) (0))); ^ symbol: variable list location: class string_find_char Mercury/javas/jmercury/string_find_char.java:152: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:155: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:170: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:182: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:232: error: cannot find symbol java.lang.Object [] result = string.find_first_char_3_p_0(Str_5, Char_6); ^ symbol: variable string location: class string_find_char Mercury/javas/jmercury/string_find_char.java:240: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_28 = null; ^ Mercury/javas/jmercury/string_find_char.java:246: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:248: error: package string__parse_util does not exist Var_28 = (string__parse_util.String_format_flags_0) string_find_char.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_find_char.java:250: error: cannot find symbol Var_22 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_28, Index_8); ^ symbol: variable string__format location: class string_find_char Mercury/javas/jmercury/string_find_char.java:253: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:257: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:260: error: cannot find symbol Var_32 = string__format.format_char_component_nowidth_3_p_0(Var_28, Char_6); ^ symbol: variable string__format location: class string_find_char Mercury/javas/jmercury/string_find_char.java:263: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:267: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:275: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:289: error: cannot find symbol java.lang.Object [] result = string.find_last_char_3_p_0(Str_5, Char_6); ^ symbol: variable string location: class string_find_char Mercury/javas/jmercury/string_find_char.java:297: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_28 = null; ^ Mercury/javas/jmercury/string_find_char.java:303: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:305: error: package string__parse_util does not exist Var_28 = (string__parse_util.String_format_flags_0) string_find_char.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/string_find_char.java:307: error: cannot find symbol Var_22 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_28, Index_8); ^ symbol: variable string__format location: class string_find_char Mercury/javas/jmercury/string_find_char.java:310: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:314: error: cannot find symbol io.write_string_3_p_0(Var_30); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:317: error: cannot find symbol Var_32 = string__format.format_char_component_nowidth_3_p_0(Var_28, Char_6); ^ symbol: variable string__format location: class string_find_char Mercury/javas/jmercury/string_find_char.java:320: error: cannot find symbol io.write_string_3_p_0(Var_32); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:324: error: cannot find symbol io.write_string_3_p_0(Var_39); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:332: error: cannot find symbol io.write_string_3_p_0(Var_18); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:346: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_25 = (string__parse_util.String_format_flags_0) string_find_char.MR_scalar_common_1[1]; ^ Mercury/javas/jmercury/string_find_char.java:346: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_25 = (string__parse_util.String_format_flags_0) string_find_char.MR_scalar_common_1[1]; ^ Mercury/javas/jmercury/string_find_char.java:350: error: cannot find symbol Var_19 = string__format.format_signed_int_component_width_noprec_4_p_0(Var_25, Var_26, Offset0_7); ^ symbol: variable string__format location: class string_find_char Mercury/javas/jmercury/string_find_char.java:353: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:356: error: cannot find symbol Str_10 = string.from_char_1_f_0(Char_6); ^ symbol: variable string location: class string_find_char Mercury/javas/jmercury/string_find_char.java:359: error: cannot find symbol Var_18 = string.count_code_units_1_f_0(Str_10); ^ symbol: variable string location: class string_find_char Mercury/javas/jmercury/string_find_char.java:374: error: cannot find symbol Var_8 = mr_char.to_int_1_f_0(Char_4); ^ symbol: variable mr_char location: class string_find_char Mercury/javas/jmercury/string_find_char.java:381: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_26 = (string__parse_util.String_format_flags_0) string_find_char.MR_scalar_common_1[1]; ^ Mercury/javas/jmercury/string_find_char.java:381: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_26 = (string__parse_util.String_format_flags_0) string_find_char.MR_scalar_common_1[1]; ^ Mercury/javas/jmercury/string_find_char.java:385: error: cannot find symbol Var_20 = string__format.format_char_component_width_4_p_0(Var_26, Var_27, Char_4); ^ symbol: variable string__format location: class string_find_char Mercury/javas/jmercury/string_find_char.java:388: error: cannot find symbol io.write_string_3_p_0(Var_20); ^ symbol: variable io location: class string_find_char Mercury/javas/jmercury/string_find_char.java:394: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_34 = (string__parse_util.String_format_flags_0) string_find_char.MR_scalar_common_1[1]; ^ Mercury/javas/jmercury/string_find_char.java:394: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_34 = (string__parse_util.String_format_flags_0) string_find_char.MR_scalar_common_1[1]; ^ 100 errors make[3]: *** [/tmp/mmake.wa5IOu:2362: string_find_char] Error 1 make[3]: Target 'string_find_char.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/tests/hard_coded'