MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - string_append_ooi_ilseq.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - string_append_ooi_ilseq Making Mercury/int3s/string_append_ooi_ilseq.int3 Making Mercury/ints/string_append_ooi_ilseq.int Making Mercury/javas/jmercury/string_append_ooi_ilseq.java Making Java class files Mercury/javas/jmercury/string_append_ooi_ilseq.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:54: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:165: error: package pair does not exist pair.Pair_2 arg1, ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:179: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:218: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:291: error: package pair does not exist pair.Pair_2 HeadVar__1_1) ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:400: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:419: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:475: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:478: error: package pair does not exist public pair.Pair_2 conv0_HeadVar__2_2; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:484: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:486: error: package pair does not exist public pair.Pair_2 HeadVar__2_2; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "string_append_ooi_ilseq"; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_builtin__type_ctor_info_string_0__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:37: error: cannot find symbol pair.pair__type_ctor_info_pair_2, ^ symbol: variable pair location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0, ^ symbol: variable builtin location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:50: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:54: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_5 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:58: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ symbol: variable pair location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(pair.pair__type_ctor_info_pair_2))), ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:60: 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 string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:60: 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/string_append_ooi_ilseq.java:61: 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 string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:61: 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/string_append_ooi_ilseq.java:68: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:68: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:77: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:77: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:78: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:78: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:87: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:88: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K1, ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:89: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:90: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:91: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:92: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:105: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_21_21 = null; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:106: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = null; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:121: error: cannot find symbol Var_11 = string.count_code_units_1_f_0(S0_4); ^ symbol: variable string location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:126: error: cannot find symbol S1_5 = string.between_3_f_0(S0_4, Var_9, Var_10); ^ symbol: variable string location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:130: error: cannot find symbol Var_13 = string.f_43_43_2_f_0(S1_5, Var_14); ^ symbol: variable string location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:133: error: cannot find symbol S_6 = string.f_43_43_2_f_0(S0_4, Var_13); ^ symbol: variable string location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:144: error: package jmercury.runtime does not exist TypeInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(string_append_ooi_ilseq.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:145: error: cannot find symbol TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:145: error: package jmercury.runtime does not exist TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:147: error: cannot find symbol conv1_STATE_VARIABLE_IO_8 = solutions.unsorted_aggregate_4_p_2(TypeInfo_21_21, TypeCtorInfo_22_22, Var_15, Var_16, ((java.lang.Object) (0))); ^ symbol: variable solutions location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:159: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((string_append_ooi_ilseq.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((string_append_ooi_ilseq.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((string_append_ooi_ilseq.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:210: error: package pair does not exist string_append_ooi_ilseq.write_result_3_p_0(((pair.Pair_2) wrapper_arg_1)); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:231: error: cannot find symbol string.nondet_append_3_p_0(S_3, new AddrOf3_0(0), env_ptr); ^ symbol: variable string location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:242: error: package pair does not exist ((string_append_ooi_ilseq.Test_append_ooi_2_p_0_env_0) env_ptr).HeadVar__2_2 = new pair.Pair_2( ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:248: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((string_append_ooi_ilseq.Test_append_ooi_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((string_append_ooi_ilseq.Test_append_ooi_2_p_0_env_0) env_ptr).HeadVar__2_2)), ((java.lang.Object) (((string_append_ooi_ilseq.Test_append_ooi_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:271: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_13 = null; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:274: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_21 = null; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:277: error: cannot find symbol Var_14 = string__format.format_cast_int_to_uint_2_p_0(I_4); ^ symbol: variable string__format location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:279: error: package string__parse_util does not exist Var_21 = (string__parse_util.String_format_flags_0) string_append_ooi_ilseq.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:280: error: package string__parse_util does not exist Var_13 = string__parse_util.String_format_int_base_0.K2; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:282: error: cannot find symbol Var_15 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_21, Var_13, Var_14); ^ symbol: variable string__format location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:285: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:293: error: package pair does not exist java.lang.String L_4 = ((java.lang.String) ((pair.Pair_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:294: error: package pair does not exist java.lang.String R_5 = ((java.lang.String) ((pair.Pair_2) HeadVar__1_1).F2); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:303: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:311: error: cannot find symbol io.write_string_3_p_0(Var_12); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:315: error: cannot find symbol io.write_string_3_p_0(Var_14); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:323: error: cannot find symbol io.write_string_3_p_0(Var_17); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:337: error: package string does not exist string.Maybe_replaced_0 MaybeReplaced_10 = null; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:341: error: cannot find symbol java.lang.Object [] result = string.index_next_repl_5_p_0(S_5, Index_6); ^ symbol: variable string location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:345: error: package string does not exist MaybeReplaced_10 = (string.Maybe_replaced_0) result[3]; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:355: error: cannot find symbol succeeded = mr_char.is_surrogate_1_p_0(Char_9); ^ symbol: variable mr_char location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:362: error: cannot find symbol Var_16 = mr_char.to_int_1_f_0(Char_9); ^ symbol: variable mr_char location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:370: error: cannot find symbol io.write_char_3_p_0(Char_9); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:375: error: package string.Maybe_replaced_0 does not exist byte CodeUnit_11 = ((string.Maybe_replaced_0.Replaced_code_unit_1) MaybeReplaced_10).F1; ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:379: error: cannot find symbol Var_14 = uint8.to_int_1_f_0(CodeUnit_11); ^ symbol: variable uint8 location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:387: error: cannot find symbol io.write_char_3_p_0(Var_19); ^ symbol: variable io location: class string_append_ooi_ilseq Mercury/javas/jmercury/string_append_ooi_ilseq.java:411: error: package pair does not exist string_append_ooi_ilseq.main_2_p_0_2(((pair.Pair_2) arg1), ((/* env_ptr */ java.lang.Object) arg2)); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:444: error: package jmercury.runtime does not exist string_append_ooi_ilseq.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/string_append_ooi_ilseq.java:458: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 91 errors make[3]: *** [/tmp/mmake.QZLKf2:2364: string_append_ooi_ilseq] Error 1 make[3]: Target 'string_append_ooi_ilseq.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded'