MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/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-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/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-02/stage2/scripts/mmc --make --options-file - string_not_surrogate.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/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-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/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-02/stage2/scripts/mmc --make --options-file - string_not_surrogate Making Mercury/int3s/string_not_surrogate.int3 Making Mercury/ints/string_not_surrogate.int Making Mercury/javas/jmercury/string_not_surrogate.java Making Java class files Mercury/javas/jmercury/string_not_surrogate.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_not_surrogate.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[2]; ^ Mercury/javas/jmercury/string_not_surrogate.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_not_surrogate.java:237: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_not_surrogate.java:256: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_not_surrogate.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_not_surrogate"; ^ Mercury/javas/jmercury/string_not_surrogate.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_not_surrogate.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_not_surrogate.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_not_surrogate.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_not_surrogate.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_not_surrogate.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[2]; ^ Mercury/javas/jmercury/string_not_surrogate.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_not_surrogate.java:41: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/string_not_surrogate.java:43: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_not_surrogate.java:45: error: package list does not exist (list.List_1) string_not_surrogate.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/string_not_surrogate.java:48: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/string_not_surrogate.java:50: error: package list does not exist (list.List_1) string_not_surrogate.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/string_not_surrogate.java:57: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:57: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_not_surrogate.java:58: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:58: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_not_surrogate.java:59: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:59: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_not_surrogate.java:66: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:66: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/string_not_surrogate.java:67: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:67: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_not_surrogate.java:68: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:68: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_not_surrogate.java:81: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:81: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/string_not_surrogate.java:82: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:82: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/string_not_surrogate.java:97: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_not_surrogate.java:98: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/string_not_surrogate.java:99: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_not_surrogate.java:100: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K1, ^ Mercury/javas/jmercury/string_not_surrogate.java:101: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_not_surrogate.java:102: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_not_surrogate.java:115: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_not_surrogate.java:115: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:115: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/string_not_surrogate.java:116: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_not_surrogate.java:116: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:116: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_not_surrogate.java:117: error: package list does not exist list.List_1 Strings_4 = (list.List_1) string_not_surrogate.MR_scalar_common_2[1]; ^ Mercury/javas/jmercury/string_not_surrogate.java:117: error: package list does not exist list.List_1 Strings_4 = (list.List_1) string_not_surrogate.MR_scalar_common_2[1]; ^ Mercury/javas/jmercury/string_not_surrogate.java:122: error: cannot find symbol conv0_STATE_VARIABLE_IO_6 = list.foldl_4_p_2(TypeCtorInfo_15_15, TypeCtorInfo_16_16, Var_11, Strings_4, ((java.lang.Object) (0))); ^ symbol: variable list location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:145: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/string_not_surrogate.java:146: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = null; ^ Mercury/javas/jmercury/string_not_surrogate.java:147: error: package list does not exist list.List_1 Chars_6 = null; ^ Mercury/javas/jmercury/string_not_surrogate.java:148: error: package list does not exist list.List_1 Ints_7 = null; ^ Mercury/javas/jmercury/string_not_surrogate.java:155: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:158: error: cannot find symbol Chars_6 = string.to_char_list_1_f_0(String_4); ^ symbol: variable string location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:160: error: cannot find symbol TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ symbol: variable builtin location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:160: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0); ^ Mercury/javas/jmercury/string_not_surrogate.java:161: error: cannot find symbol TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:161: error: package jmercury.runtime does not exist TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/string_not_surrogate.java:164: error: cannot find symbol Ints_7 = list.map_2_f_0(TypeCtorInfo_16_16, TypeCtorInfo_17_17, Var_12, Chars_6); ^ symbol: variable list location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:169: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_17_17, Ints_7, Var_13, Var_14); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:172: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:186: 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 string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:212: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_15 = null; ^ Mercury/javas/jmercury/string_not_surrogate.java:215: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_23 = null; ^ Mercury/javas/jmercury/string_not_surrogate.java:219: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:222: error: cannot find symbol Var_16 = string__format.format_cast_int_to_uint_2_p_0(Int_4); ^ symbol: variable string__format location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:224: error: package string__parse_util does not exist Var_23 = (string__parse_util.String_format_flags_0) string_not_surrogate.MR_scalar_common_6[0]; ^ Mercury/javas/jmercury/string_not_surrogate.java:226: error: package string__parse_util does not exist Var_15 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/string_not_surrogate.java:228: error: cannot find symbol Var_17 = string__format.format_uint_component_width_noprec_5_p_0(Var_23, Var_24, Var_15, Var_16); ^ symbol: variable string__format location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:231: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class string_not_surrogate Mercury/javas/jmercury/string_not_surrogate.java:286: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 78 errors make[3]: *** [/tmp/mmake.tKewgd:2366: string_not_surrogate] Error 1 make[3]: Target 'string_not_surrogate.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/hard_coded'