MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-21/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-21/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 += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-21/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-21/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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-21/stage2/scripts/mmc --make --options-file - rbtree_count.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-21/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-21/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-21/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 += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-21/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-21/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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-21/stage2/scripts/mmc --make --options-file - rbtree_count Making Mercury/int3s/rbtree_count.int3 Making Mercury/ints/rbtree_count.int Making Mercury/javas/jmercury/rbtree_count.java Making Java class files Mercury/javas/jmercury/rbtree_count.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/rbtree_count.java:33: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_2 = new pair.Pair_2[3]; ^ Mercury/javas/jmercury/rbtree_count.java:34: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/rbtree_count.java:35: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_4 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/rbtree_count.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "rbtree_count"; ^ Mercury/javas/jmercury/rbtree_count.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/rbtree_count.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/rbtree_count.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/rbtree_count.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/rbtree_count.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/rbtree_count.java:33: error: package pair does not exist private static final pair.Pair_2[] MR_scalar_common_2 = new pair.Pair_2[3]; ^ Mercury/javas/jmercury/rbtree_count.java:34: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/rbtree_count.java:35: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_4 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/rbtree_count.java:39: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/rbtree_count.java:41: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/rbtree_count.java:46: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/rbtree_count.java:51: error: package pair does not exist new pair.Pair_2( ^ Mercury/javas/jmercury/rbtree_count.java:56: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rbtree_count.java:57: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) rbtree_count.MR_scalar_common_2[0])), ^ Mercury/javas/jmercury/rbtree_count.java:58: error: package list does not exist (list.List_1) rbtree_count.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/rbtree_count.java:61: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rbtree_count.java:62: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) rbtree_count.MR_scalar_common_2[1])), ^ Mercury/javas/jmercury/rbtree_count.java:63: error: package list does not exist (list.List_1) rbtree_count.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/rbtree_count.java:66: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/rbtree_count.java:67: error: package pair does not exist ((java.lang.Object) ((pair.Pair_2) rbtree_count.MR_scalar_common_2[2])), ^ Mercury/javas/jmercury/rbtree_count.java:68: error: package list does not exist (list.List_1) rbtree_count.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/rbtree_count.java:71: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/rbtree_count.java:72: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/rbtree_count.java:73: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/rbtree_count.java:74: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/rbtree_count.java:75: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/rbtree_count.java:76: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/rbtree_count.java:89: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_61_61 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/rbtree_count.java:89: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_61_61 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:89: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_61_61 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/rbtree_count.java:90: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_62_62 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/rbtree_count.java:90: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_62_62 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:90: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_62_62 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/rbtree_count.java:91: error: package rbtree does not exist rbtree.Rbtree_2 Empty_4 = null; ^ Mercury/javas/jmercury/rbtree_count.java:92: error: package rbtree does not exist rbtree.Rbtree_2 Singleton_5 = null; ^ Mercury/javas/jmercury/rbtree_count.java:93: error: package rbtree does not exist rbtree.Rbtree_2 ThreeElems_6 = null; ^ Mercury/javas/jmercury/rbtree_count.java:96: error: package list does not exist list.List_1 Var_12 = null; ^ Mercury/javas/jmercury/rbtree_count.java:105: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_72 = null; ^ Mercury/javas/jmercury/rbtree_count.java:114: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_99 = null; ^ Mercury/javas/jmercury/rbtree_count.java:118: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_111 = null; ^ Mercury/javas/jmercury/rbtree_count.java:122: error: package string__parse_util does not exist string__parse_util.String_format_int_base_0 Var_123 = null; ^ Mercury/javas/jmercury/rbtree_count.java:127: error: cannot find symbol Empty_4 = rbtree.init_1_p_0(TypeCtorInfo_61_61, TypeCtorInfo_62_62); ^ symbol: variable rbtree location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:132: error: cannot find symbol Singleton_5 = rbtree.singleton_2_f_0(TypeCtorInfo_61_61, TypeCtorInfo_62_62, java.lang.Integer.valueOf(Var_10), ((java.lang.Object) (Var_11))); ^ symbol: variable rbtree location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:134: error: package list does not exist Var_12 = (list.List_1) rbtree_count.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/rbtree_count.java:136: error: cannot find symbol ThreeElems_6 = rbtree.from_assoc_list_1_f_0(TypeCtorInfo_61_61, TypeCtorInfo_62_62, Var_12); ^ symbol: variable rbtree location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:139: error: cannot find symbol Var_29 = rbtree.count_1_f_0(TypeCtorInfo_61_61, TypeCtorInfo_62_62, Empty_4); ^ symbol: variable rbtree location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:143: error: cannot find symbol io.write_string_3_p_0(Var_64); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:145: error: package string__parse_util does not exist Var_72 = (string__parse_util.String_format_flags_0) rbtree_count.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/rbtree_count.java:147: error: cannot find symbol Var_66 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_72, Var_29); ^ symbol: variable string__format location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:150: error: cannot find symbol io.write_string_3_p_0(Var_66); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:154: error: cannot find symbol io.write_string_3_p_0(Var_73); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:157: error: cannot find symbol Var_35 = rbtree.count_1_f_0(TypeCtorInfo_61_61, TypeCtorInfo_62_62, Singleton_5); ^ symbol: variable rbtree location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:161: error: cannot find symbol io.write_string_3_p_0(Var_75); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:164: error: cannot find symbol Var_77 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_72, Var_35); ^ symbol: variable string__format location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:167: error: cannot find symbol io.write_string_3_p_0(Var_77); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:171: error: cannot find symbol io.write_string_3_p_0(Var_84); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:174: error: cannot find symbol Var_41 = rbtree.count_1_f_0(TypeCtorInfo_61_61, TypeCtorInfo_62_62, ThreeElems_6); ^ symbol: variable rbtree location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:178: error: cannot find symbol io.write_string_3_p_0(Var_86); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:181: error: cannot find symbol Var_88 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_72, Var_41); ^ symbol: variable string__format location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:184: error: cannot find symbol io.write_string_3_p_0(Var_88); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:188: error: cannot find symbol io.write_string_3_p_0(Var_95); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:191: error: cannot find symbol Var_47 = rbtree.ucount_1_f_0(TypeCtorInfo_61_61, TypeCtorInfo_62_62, Empty_4); ^ symbol: variable rbtree location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:195: error: cannot find symbol io.write_string_3_p_0(Var_97); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:197: error: package string__parse_util does not exist Var_99 = string__parse_util.String_format_int_base_0.K1; ^ Mercury/javas/jmercury/rbtree_count.java:199: error: cannot find symbol Var_100 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_72, Var_99, Var_47); ^ symbol: variable string__format location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:202: error: cannot find symbol io.write_string_3_p_0(Var_100); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:206: error: cannot find symbol io.write_string_3_p_0(Var_107); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:209: error: cannot find symbol Var_53 = rbtree.ucount_1_f_0(TypeCtorInfo_61_61, TypeCtorInfo_62_62, Singleton_5); ^ symbol: variable rbtree location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:213: error: cannot find symbol io.write_string_3_p_0(Var_109); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:215: error: package string__parse_util does not exist Var_111 = string__parse_util.String_format_int_base_0.K1; ^ Mercury/javas/jmercury/rbtree_count.java:217: error: cannot find symbol Var_112 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_72, Var_111, Var_53); ^ symbol: variable string__format location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:220: error: cannot find symbol io.write_string_3_p_0(Var_112); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:224: error: cannot find symbol io.write_string_3_p_0(Var_119); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:227: error: cannot find symbol Var_59 = rbtree.ucount_1_f_0(TypeCtorInfo_61_61, TypeCtorInfo_62_62, ThreeElems_6); ^ symbol: variable rbtree location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:231: error: cannot find symbol io.write_string_3_p_0(Var_121); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:233: error: package string__parse_util does not exist Var_123 = string__parse_util.String_format_int_base_0.K1; ^ Mercury/javas/jmercury/rbtree_count.java:235: error: cannot find symbol Var_124 = string__format.format_uint_component_nowidth_noprec_4_p_0(Var_72, Var_123, Var_59); ^ symbol: variable string__format location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:238: error: cannot find symbol io.write_string_3_p_0(Var_124); ^ symbol: variable io location: class rbtree_count Mercury/javas/jmercury/rbtree_count.java:242: error: cannot find symbol io.write_string_3_p_0(Var_131); ^ symbol: variable io location: class rbtree_count 90 errors gmake[3]: *** [/tmp/mmake.RsPcMJ:2411: rbtree_count] Error 1 gmake[3]: Target 'rbtree_count.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-21/tests/hard_coded'