MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-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-09-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-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-09-15/stage2/scripts/mmc --make --options-file - char_to_string.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-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-09-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-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-09-15/stage2/scripts/mmc --make --options-file - char_to_string Making Mercury/int3s/char_to_string.int3 Making Mercury/ints/char_to_string.int Making Mercury/javas/jmercury/char_to_string.java Making Java class files Mercury/javas/jmercury/char_to_string.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/char_to_string.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/char_to_string.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/char_to_string.java:57: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/char_to_string.java:495: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/char_to_string.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "char_to_string"; ^ Mercury/javas/jmercury/char_to_string.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/char_to_string.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/char_to_string.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class char_to_string Mercury/javas/jmercury/char_to_string.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class char_to_string Mercury/javas/jmercury/char_to_string.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/char_to_string.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/char_to_string.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/char_to_string.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_character_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/char_to_string.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class char_to_string Mercury/javas/jmercury/char_to_string.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/char_to_string.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class char_to_string Mercury/javas/jmercury/char_to_string.java:44: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class char_to_string Mercury/javas/jmercury/char_to_string.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ Mercury/javas/jmercury/char_to_string.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_character_0 ^ symbol: variable builtin location: class char_to_string Mercury/javas/jmercury/char_to_string.java:56: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[2]; ^ Mercury/javas/jmercury/char_to_string.java:57: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_2 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/char_to_string.java:62: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/char_to_string.java:63: 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 char_to_string Mercury/javas/jmercury/char_to_string.java:63: 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/char_to_string.java:64: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class char_to_string Mercury/javas/jmercury/char_to_string.java:64: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/char_to_string.java:67: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/char_to_string.java:68: 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 char_to_string Mercury/javas/jmercury/char_to_string.java:68: 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/char_to_string.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ symbol: variable builtin location: class char_to_string Mercury/javas/jmercury/char_to_string.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0))) ^ Mercury/javas/jmercury/char_to_string.java:72: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/char_to_string.java:73: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K1, ^ Mercury/javas/jmercury/char_to_string.java:74: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/char_to_string.java:75: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/char_to_string.java:76: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/char_to_string.java:77: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/char_to_string.java:84: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ symbol: variable builtin location: class char_to_string Mercury/javas/jmercury/char_to_string.java:84: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0)), ^ Mercury/javas/jmercury/char_to_string.java:92: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class char_to_string Mercury/javas/jmercury/char_to_string.java:92: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/char_to_string.java:111: error: cannot find symbol Str_23 = string.char_to_string_2_p_0(Char_4); ^ symbol: variable string location: class char_to_string Mercury/javas/jmercury/char_to_string.java:130: error: cannot find symbol java.lang.Object [] result = string.char_to_string_2_p_1(Str_4); ^ symbol: variable string location: class char_to_string Mercury/javas/jmercury/char_to_string.java:171: error: cannot find symbol Var_9 = mr_char.det_from_int_1_f_0(Var_11); ^ symbol: variable mr_char location: class char_to_string Mercury/javas/jmercury/char_to_string.java:178: error: cannot find symbol Var_12 = mr_char.det_from_int_1_f_0(Var_14); ^ symbol: variable mr_char location: class char_to_string Mercury/javas/jmercury/char_to_string.java:185: error: cannot find symbol Var_15 = mr_char.det_from_int_1_f_0(Var_17); ^ symbol: variable mr_char location: class char_to_string Mercury/javas/jmercury/char_to_string.java:195: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:201: error: cannot find symbol S0_5 = string.between_3_f_0(S_4, Var_21, Var_22); ^ symbol: variable string location: class char_to_string Mercury/javas/jmercury/char_to_string.java:205: error: cannot find symbol Var_24 = string.length_1_f_0(S_4); ^ symbol: variable string location: class char_to_string Mercury/javas/jmercury/char_to_string.java:208: error: cannot find symbol S1_6 = string.between_3_f_0(S_4, Var_23, Var_24); ^ symbol: variable string location: class char_to_string Mercury/javas/jmercury/char_to_string.java:215: error: cannot find symbol Var_27 = string.f_43_43_2_f_0(S0_5, S_4); ^ symbol: variable string location: class char_to_string Mercury/javas/jmercury/char_to_string.java:221: error: cannot find symbol Var_29 = string.f_43_43_2_f_0(S_4, S0_5); ^ symbol: variable string location: class char_to_string Mercury/javas/jmercury/char_to_string.java:241: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_24_24 = null; ^ Mercury/javas/jmercury/char_to_string.java:242: error: package exception does not exist exception.Exception_result_1 TryResult_10 = null; ^ Mercury/javas/jmercury/char_to_string.java:253: error: package jmercury.runtime does not exist TypeInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(char_to_string.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/char_to_string.java:255: error: cannot find symbol TryResult_10 = exception.try_2_p_0(TypeInfo_24_24, TryLambda_22); ^ symbol: variable exception location: class char_to_string Mercury/javas/jmercury/char_to_string.java:259: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_20_20 = null; ^ Mercury/javas/jmercury/char_to_string.java:261: error: package univ does not exist univ.Univ_0 Var_11 = ((exception.Exception_result_1.Exception_1) TryResult_10).F1; ^ Mercury/javas/jmercury/char_to_string.java:261: error: package exception.Exception_result_1 does not exist univ.Univ_0 Var_11 = ((exception.Exception_result_1.Exception_1) TryResult_10).F1; ^ Mercury/javas/jmercury/char_to_string.java:265: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_value_1_f_0(Var_11); ^ symbol: variable exception location: class char_to_string Mercury/javas/jmercury/char_to_string.java:266: error: package jmercury.runtime does not exist TypeInfo_20_20 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/char_to_string.java:271: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:274: error: cannot find symbol io.write_3_p_0(TypeInfo_20_20, Excp_7); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:277: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:284: error: package exception.Exception_result_1 does not exist /* tuple */ java.lang.Object[] OutputTuple_26 = ((/* tuple */ java.lang.Object[]) ((exception.Exception_result_1.Succeeded_1) TryResult_10).F1); ^ Mercury/javas/jmercury/char_to_string.java:290: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:297: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:322: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_26_26 = null; ^ Mercury/javas/jmercury/char_to_string.java:323: error: package exception does not exist exception.Exception_result_1 TryResult_10 = null; ^ Mercury/javas/jmercury/char_to_string.java:334: error: package jmercury.runtime does not exist TypeInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(char_to_string.MR_scalar_common_1[1]); ^ Mercury/javas/jmercury/char_to_string.java:336: error: cannot find symbol TryResult_10 = exception.try_2_p_1(TypeInfo_26_26, TryLambda_24); ^ symbol: variable exception location: class char_to_string Mercury/javas/jmercury/char_to_string.java:338: error: illegal start of type switch (TryResult_10.data_tag) { ^ Mercury/javas/jmercury/char_to_string.java:343: error: package exception.Exception_result_1 does not exist /* tuple */ java.lang.Object[] OutputTuple_28 = ((/* tuple */ java.lang.Object[]) ((exception.Exception_result_1.Succeeded_1) TryResult_10).F1); ^ Mercury/javas/jmercury/char_to_string.java:348: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:354: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:363: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:369: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_22_22 = null; ^ Mercury/javas/jmercury/char_to_string.java:371: error: package univ does not exist univ.Univ_0 Var_11 = ((exception.Exception_result_1.Exception_1) TryResult_10).F1; ^ Mercury/javas/jmercury/char_to_string.java:371: error: package exception.Exception_result_1 does not exist univ.Univ_0 Var_11 = ((exception.Exception_result_1.Exception_1) TryResult_10).F1; ^ Mercury/javas/jmercury/char_to_string.java:375: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_value_1_f_0(Var_11); ^ symbol: variable exception location: class char_to_string Mercury/javas/jmercury/char_to_string.java:376: error: package jmercury.runtime does not exist TypeInfo_22_22 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/char_to_string.java:381: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:384: error: cannot find symbol io.write_3_p_0(TypeInfo_22_22, Excp_7); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:387: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:392: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/char_to_string.java:428: error: cannot find symbol succeeded = mr_char.is_surrogate_1_p_0(Char_4); ^ symbol: variable mr_char location: class char_to_string Mercury/javas/jmercury/char_to_string.java:433: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_14 = null; ^ Mercury/javas/jmercury/char_to_string.java:436: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_22 = null; ^ Mercury/javas/jmercury/char_to_string.java:439: error: cannot find symbol Var_12 = mr_char.to_int_1_f_0(Char_4); ^ symbol: variable mr_char location: class char_to_string Mercury/javas/jmercury/char_to_string.java:442: error: cannot find symbol Var_15 = string__format.format_cast_int_to_uint_2_p_0(Var_12); ^ symbol: variable string__format location: class char_to_string Mercury/javas/jmercury/char_to_string.java:444: error: package string__parse_util does not exist Var_22 = (string__parse_util.String_format_flags_0) char_to_string.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/char_to_string.java:445: error: package string__parse_util does not exist Var_14 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/char_to_string.java:447: error: cannot find symbol Var_16 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_22, Var_14, Var_15); ^ symbol: variable string__format location: class char_to_string Mercury/javas/jmercury/char_to_string.java:450: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class char_to_string Mercury/javas/jmercury/char_to_string.java:455: error: cannot find symbol io.write_char_3_p_0(Char_4); ^ symbol: variable io location: class char_to_string 100 errors make[3]: *** [/tmp/mmake.auTYTo:2364: char_to_string] Error 1 make[3]: Target 'char_to_string.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/hard_coded'