MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-08-18/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-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 += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-08-18/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-08-18/stage2/scripts/mmc --make --options-file - test_input_spec.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-08-18/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-08-18/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-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 += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-08-18/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-08-18/stage2/scripts/mmc --make --options-file - test_input_spec Making Mercury/int3s/test_input_spec.int3 Making Mercury/ints/test_input_spec.int Making Mercury/javas/jmercury/test_input_spec.java Making Java class files Mercury/javas/jmercury/test_input_spec.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_input_spec__enum_functor_desc_aux_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_input_spec.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_input_spec__enum_functor_desc_aux_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_input_spec.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_input_spec__enum_ordinal_ordered_aux_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/test_input_spec.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_input_spec__enum_name_ordered_aux_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/test_input_spec.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_input_spec__type_ctor_info_aux_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_input_spec.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_input_spec__enum_functor_desc_control_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_input_spec.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_input_spec__enum_functor_desc_control_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_input_spec.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_input_spec__enum_ordinal_ordered_control_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/test_input_spec.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_input_spec__enum_name_ordered_control_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/test_input_spec.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_input_spec__type_ctor_info_control_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_input_spec.java:134: 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[1]; ^ Mercury/javas/jmercury/test_input_spec.java:620: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/test_input_spec.java:621: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/test_input_spec.java:632: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/test_input_spec.java:633: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/test_input_spec.java:432: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_input_spec.java:471: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/test_input_spec.java:558: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/test_input_spec.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_input_spec"; ^ Mercury/javas/jmercury/test_input_spec.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_input_spec.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_input_spec.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_input_spec.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_input_spec.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_input_spec__enum_functor_desc_aux_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_input_spec.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_input_spec__enum_functor_desc_aux_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_input_spec.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_input_spec__enum_ordinal_ordered_aux_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/test_input_spec.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_input_spec__enum_name_ordered_aux_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/test_input_spec.java:37: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_input_spec__type_ctor_info_aux_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_input_spec.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_input_spec__enum_functor_desc_control_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_input_spec.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc test_input_spec__enum_functor_desc_control_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/test_input_spec.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_input_spec__enum_ordinal_ordered_control_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/test_input_spec.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] test_input_spec__enum_name_ordered_control_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/test_input_spec.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct test_input_spec__type_ctor_info_control_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/test_input_spec.java:71: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/test_input_spec.java:76: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/test_input_spec.java:79: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/test_input_spec.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/test_input_spec.java:116: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/test_input_spec.java:119: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/test_input_spec.java:134: 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[1]; ^ Mercury/javas/jmercury/test_input_spec.java:138: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/test_input_spec.java:139: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/test_input_spec.java:140: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/test_input_spec.java:141: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/test_input_spec.java:142: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/test_input_spec.java:143: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/test_input_spec.java:178: error: cannot find symbol Var_5 = mr_int.mod_2_f_0(In_3, Var_6); ^ symbol: variable mr_int location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:211: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_63 = null; ^ Mercury/javas/jmercury/test_input_spec.java:240: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:279: error: cannot find symbol io.write_string_3_p_0(Var_55); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:281: error: package string__parse_util does not exist Var_63 = (string__parse_util.String_format_flags_0) test_input_spec.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/test_input_spec.java:284: error: cannot find symbol Var_57 = string__format.format_signed_int_component_width_noprec_4_p_0(Var_63, Var_64, CtrlA_7); ^ symbol: variable string__format location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:287: error: cannot find symbol io.write_string_3_p_0(Var_57); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:291: error: cannot find symbol io.write_string_3_p_0(Var_66); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:295: error: cannot find symbol Var_68 = string__format.format_signed_int_component_width_noprec_4_p_0(Var_63, Var_75, CtrlB_8); ^ symbol: variable string__format location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:298: error: cannot find symbol io.write_string_3_p_0(Var_68); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:302: error: cannot find symbol io.write_string_3_p_0(Var_76); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:306: error: cannot find symbol io.write_string_3_p_0(Var_78); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:310: error: cannot find symbol Var_80 = string__format.format_signed_int_component_width_noprec_4_p_0(Var_63, Var_87, AuxAC_9); ^ symbol: variable string__format location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:313: error: cannot find symbol io.write_string_3_p_0(Var_80); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:317: error: cannot find symbol io.write_string_3_p_0(Var_89); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:321: error: cannot find symbol Var_91 = string__format.format_signed_int_component_width_noprec_4_p_0(Var_63, Var_98, AuxAD_10); ^ symbol: variable string__format location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:324: error: cannot find symbol io.write_string_3_p_0(Var_91); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:328: error: cannot find symbol io.write_string_3_p_0(Var_99); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:332: error: cannot find symbol io.write_string_3_p_0(Var_101); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:336: error: cannot find symbol Var_103 = string__format.format_signed_int_component_width_noprec_4_p_0(Var_63, Var_110, AuxBC_11); ^ symbol: variable string__format location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:339: error: cannot find symbol io.write_string_3_p_0(Var_103); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:343: error: cannot find symbol io.write_string_3_p_0(Var_112); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:347: error: cannot find symbol Var_114 = string__format.format_signed_int_component_width_noprec_4_p_0(Var_63, Var_121, AuxBD_12); ^ symbol: variable string__format location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:350: error: cannot find symbol io.write_string_3_p_0(Var_114); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:354: error: cannot find symbol io.write_string_3_p_0(Var_122); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:358: error: cannot find symbol io.write_string_3_p_0(Var_124); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:362: error: cannot find symbol Var_126 = string__format.format_signed_int_component_width_noprec_4_p_0(Var_63, Var_133, AuxXC_13); ^ symbol: variable string__format location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:365: error: cannot find symbol io.write_string_3_p_0(Var_126); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:369: error: cannot find symbol io.write_string_3_p_0(Var_135); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:373: error: cannot find symbol Var_137 = string__format.format_signed_int_component_width_noprec_4_p_0(Var_63, Var_144, AuxXD_14); ^ symbol: variable string__format location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:376: error: cannot find symbol io.write_string_3_p_0(Var_137); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:380: error: cannot find symbol io.write_string_3_p_0(Var_145); ^ symbol: variable io location: class test_input_spec Mercury/javas/jmercury/test_input_spec.java:438: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/test_input_spec.java:439: error: cannot find symbol int Cast_HeadVar1_4 = (int) HeadVar__2_2.MR_value; ^ symbol: variable MR_value location: variable HeadVar__2_2 of type Aux_0 Mercury/javas/jmercury/test_input_spec.java:440: error: cannot find symbol int Cast_HeadVar2_5 = (int) HeadVar__3_3.MR_value; ^ symbol: variable MR_value location: variable HeadVar__3_3 of type Aux_0 Mercury/javas/jmercury/test_input_spec.java:444: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/test_input_spec.java:449: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/test_input_spec.java:451: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/test_input_spec.java:462: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/test_input_spec.java:477: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/test_input_spec.java:478: error: cannot find symbol int Cast_HeadVar1_4 = (int) HeadVar__2_2.MR_value; ^ symbol: variable MR_value location: variable HeadVar__2_2 of type Control_0 Mercury/javas/jmercury/test_input_spec.java:479: error: cannot find symbol int Cast_HeadVar2_5 = (int) HeadVar__3_3.MR_value; ^ symbol: variable MR_value location: variable HeadVar__3_3 of type Control_0 Mercury/javas/jmercury/test_input_spec.java:483: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/test_input_spec.java:488: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/test_input_spec.java:490: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/test_input_spec.java:501: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/test_input_spec.java:515: error: cannot find symbol boolean succeeded = (HeadVar__1_1.MR_value == HeadVar__2_2.MR_value); ^ symbol: variable MR_value location: variable HeadVar__1_1 of type Aux_0 Mercury/javas/jmercury/test_input_spec.java:515: error: cannot find symbol boolean succeeded = (HeadVar__1_1.MR_value == HeadVar__2_2.MR_value); ^ symbol: variable MR_value location: variable HeadVar__2_2 of type Aux_0 100 errors gmake[3]: *** [/tmp/mmake.0rv4Yv:2431: test_input_spec] Error 1 gmake[3]: Target 'test_input_spec.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-08-18/tests/hard_coded'