MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-10-25/tests/valid' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-10-25/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-10-25/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-10-25/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-10-25/stage2/scripts/mmc --make --options-file - bug6_full.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-10-25/tests/valid' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-10-25/tests/valid' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-10-25/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-10-25/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-10-25/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-10-25/stage2/scripts/mmc --make --options-file - bug6_full.class Making Mercury/int3s/bug6_full.int3 Making Mercury/int3s/bug6_full_helper.int3 Making Mercury/ints/bug6_full.int Making Mercury/ints/bug6_full_helper.int Making Mercury/javas/jmercury/bug6_full.java Making Mercury/javas/jmercury/bug6_full_helper.java Making Mercury/classes/jmercury/bug6_full.class Mercury/javas/jmercury/bug6_full.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/bug6_full.java:98: error: package list does not exist list.List_1 HeadVar__1_1, ^ Mercury/javas/jmercury/bug6_full.java:99: error: package list does not exist list.List_1 STATE_VARIABLE_DNA_0_2) ^ Mercury/javas/jmercury/bug6_full.java:96: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/bug6_full.java:163: error: package io does not exist io.Text_input_stream_0 Stream_6, ^ Mercury/javas/jmercury/bug6_full.java:164: error: package list does not exist list.List_1 STATE_VARIABLE_DNA_0_12) ^ Mercury/javas/jmercury/bug6_full.java:161: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/bug6_full.java:283: error: package list does not exist list.List_1 STATE_VARIABLE_DNAs_0_7) ^ Mercury/javas/jmercury/bug6_full.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug6_full"; ^ Mercury/javas/jmercury/bug6_full.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug6_full.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug6_full.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug6_full Mercury/javas/jmercury/bug6_full.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug6_full Mercury/javas/jmercury/bug6_full.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug6_full.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug6_full Mercury/javas/jmercury/bug6_full.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug6_full Mercury/javas/jmercury/bug6_full.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug6_full Mercury/javas/jmercury/bug6_full.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug6_full Mercury/javas/jmercury/bug6_full.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug6_full.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/bug6_full.java:36: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bug6_full.java:49: error: package list does not exist list.List_1 Args_4 = null; ^ Mercury/javas/jmercury/bug6_full.java:50: error: package list does not exist list.List_1 DNA_6 = null; ^ Mercury/javas/jmercury/bug6_full.java:51: error: package list does not exist list.List_1 Var_14 = null; ^ Mercury/javas/jmercury/bug6_full.java:52: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/bug6_full.java:55: error: cannot find symbol Args_4 = io.command_line_arguments_3_p_0(); ^ symbol: variable io location: class bug6_full Mercury/javas/jmercury/bug6_full.java:60: error: package io does not exist io.Text_input_stream_0 Var_10 = null; ^ Mercury/javas/jmercury/bug6_full.java:61: error: package list does not exist list.List_1 Var_11 = null; ^ Mercury/javas/jmercury/bug6_full.java:64: error: cannot find symbol Var_10 = io.stdin_stream_0_f_0(); ^ symbol: variable io location: class bug6_full Mercury/javas/jmercury/bug6_full_helper.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__ti_pair_2builtin__type_ctor_info_int_0bug6_full_helper__type_ctor_info_tree_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug6_full_helper.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_pair__ti_pair_2builtin__type_ctor_info_int_0bug6_full_helper__type_ctor_info_tree_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug6_full_helper.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct pair__pti_pair_2__plain_builtin__type_ctor_info_int_0__plain_bug6_full_helper__type_ctor_info_tree_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug6_full_helper.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_bug6_full_helper__type_ctor_info_icfp_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug6_full_helper.java:19: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug6_full_helper__type_ctor_info_depth_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug6_full_helper.java:20: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug6_full_helper__type_ctor_info_depth_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug6_full_helper.java:21: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1pair__ti_pair_2builtin__type_ctor_info_int_0bug6_full_helper__type_ctor_info_tree_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug6_full_helper.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug6_full_helper__type_ctor_info_dna_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug6_full_helper.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1list__ti_list_1pair__ti_pair_2builtin__type_ctor_info_int_0bug6_full_helper__type_ctor_info_tree_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug6_full_helper.java:24: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug6_full_helper__type_ctor_info_dnas_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug6_full_helper.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug6_full_helper__enum_functor_desc_icfp_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug6_full_helper.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug6_full_helper__enum_functor_desc_icfp_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug6_full_helper.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug6_full_helper__enum_functor_desc_icfp_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug6_full_helper.java:28: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc bug6_full_helper__enum_functor_desc_icfp_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/bug6_full_helper.java:29: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug6_full_helper__enum_ordinal_ordered_icfp_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/bug6_full_helper.java:30: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] bug6_full_helper__enum_name_ordered_icfp_0 = new jmercury.runtime.EnumFunctorDesc[4]; ^ Mercury/javas/jmercury/bug6_full_helper.java:32: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug6_full_helper__type_ctor_info_icfp_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug6_full_helper.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__ti_list_1bug6_full_helper__type_ctor_info_icfp_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug6_full_helper.java:34: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug6_full_helper__type_ctor_info_icfps_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug6_full_helper.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug6_full_helper__field_types_tree_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug6_full_helper.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug6_full_helper__du_functor_desc_tree_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug6_full_helper.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug6_full_helper__field_types_tree_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug6_full_helper.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug6_full_helper__du_functor_desc_tree_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug6_full_helper.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug6_full_helper__du_stag_ordered_tree_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/bug6_full_helper.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug6_full_helper__du_ptag_ordered_tree_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug6_full_helper.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug6_full_helper__du_name_ordered_tree_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/bug6_full_helper.java:43: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug6_full_helper__type_ctor_info_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug6_full_helper.java:335: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[4]; ^ Mercury/javas/jmercury/bug6_full_helper.java:336: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bug6_full_helper.java:461: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/bug6_full_helper.java:607: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/bug6_full_helper.java:2271: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug6_full_helper.java:650: error: package list does not exist list.List_1 F0_11) ^ Mercury/javas/jmercury/bug6_full_helper.java:751: error: package list does not exist list.List_1 HeadVar__3_3) ^ Mercury/javas/jmercury/bug6_full_helper.java:794: error: package list does not exist list.List_1 F0_11) ^ Mercury/javas/jmercury/bug6_full_helper.java:893: error: package list does not exist list.List_1 LambdaHeadVar__1_7, ^ Mercury/javas/jmercury/bug6_full_helper.java:894: error: package list does not exist list.List_1 LambdaHeadVar__2_8) ^ Mercury/javas/jmercury/bug6_full_helper.java:891: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/bug6_full_helper.java:2319: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/bug6_full_helper.java:2320: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug6_full_helper.java:929: error: package list does not exist list.List_1 LambdaHeadVar__2_8) ^ Mercury/javas/jmercury/bug6_full_helper.java:926: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/bug6_full_helper.java:955: error: package pair does not exist pair.Pair_2 LambdaHeadVar__1_8, ^ Mercury/javas/jmercury/bug6_full_helper.java:970: error: package list does not exist list.List_1 F_4, ^ Mercury/javas/jmercury/bug6_full_helper.java:971: error: package pair does not exist pair.Pair_2 HeadVar__2_2) ^ Mercury/javas/jmercury/bug6_full_helper.java:968: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/bug6_full_helper.java:1035: error: package list does not exist list.List_1 Fl_4, ^ Mercury/javas/jmercury/bug6_full_helper.java:1036: error: package list does not exist list.List_1 Fr_5) ^ Mercury/javas/jmercury/bug6_full_helper.java:1033: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/bug6_full_helper.java:1070: error: package pair does not exist pair.Pair_2 HeadVar__1_1, ^ Mercury/javas/jmercury/bug6_full_helper.java:1071: error: package list does not exist list.List_1 HeadVar__2_2) ^ Mercury/javas/jmercury/bug6_full_helper.java:1068: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/bug6_full_helper.java:1158: error: package list does not exist list.List_1 F_4, ^ Mercury/javas/jmercury/bug6_full_helper.java:1156: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/bug6_full_helper.java:1185: error: package list does not exist list.List_1 Fs_3) ^ Mercury/javas/jmercury/bug6_full_helper.java:1183: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/bug6_full_helper.java:1219: error: package pair does not exist pair.Pair_2 HeadVar__1_1, ^ Mercury/javas/jmercury/bug6_full_helper.java:1220: error: package list does not exist list.List_1 ICFPs_6) ^ Mercury/javas/jmercury/bug6_full_helper.java:1217: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/bug6_full_helper.java:1234: error: package list does not exist list.List_1 ICFPs_2) ^ Mercury/javas/jmercury/bug6_full_helper.java:1231: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/bug6_full_helper.java:1276: error: package list does not exist list.List_1 ICFPs_3) ^ Mercury/javas/jmercury/bug6_full_helper.java:1274: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/bug6_full_helper.java:1311: error: package list does not exist list.List_1 F_3) ^ Mercury/javas/jmercury/bug6_full_helper.java:1346: error: package list does not exist list.List_1 F_3) ^ Mercury/javas/jmercury/bug6_full_helper.java:1344: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/bug6_full_helper.java:1382: error: package list does not exist list.List_1 F0_5) ^ Mercury/javas/jmercury/bug6_full_helper.java:1379: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/bug6_full_helper.java:1395: error: package list does not exist public static list.List_1 ^ Mercury/javas/jmercury/bug6_full_helper.java:1406: error: package list does not exist list.List_1 F_5) ^ Mercury/javas/jmercury/bug6_full_helper.java:1403: error: package list does not exist public static list.List_1 ^ 100 errors ** Error making `Mercury/classes/jmercury/bug6_full.class'. gmake[3]: *** [/tmp/mmake.iuFa8s:1516: bug6_full.class] Error 1 gmake[3]: Target 'bug6_full.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-10-25/tests/valid'