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.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.class Making Mercury/int3s/bug6.int3 Making Mercury/ints/bug6.int Making Mercury/javas/jmercury/bug6.java Making Mercury/classes/jmercury/bug6.class Mercury/javas/jmercury/bug6.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug6__du_functor_desc_tree_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug6.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug6__field_types_tree_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug6.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug6__du_functor_desc_tree_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug6.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug6__du_stag_ordered_tree_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/bug6.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug6__du_ptag_ordered_tree_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug6.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug6__du_name_ordered_tree_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/bug6.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug6__type_ctor_info_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug6.java:111: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/bug6.java:144: error: package list does not exist list.List_1 D0_4) ^ Mercury/javas/jmercury/bug6.java:345: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug6.java:169: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug6.java:303: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug6.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug6__du_functor_desc_tree_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug6.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug6__field_types_tree_0_1 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/bug6.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug6__du_functor_desc_tree_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug6.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug6__du_stag_ordered_tree_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/bug6.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug6__du_ptag_ordered_tree_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug6.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug6__du_name_ordered_tree_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/bug6.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug6__type_ctor_info_tree_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug6.java:30: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug6 Mercury/javas/jmercury/bug6.java:38: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug6 Mercury/javas/jmercury/bug6.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug6.bug6__type_ctor_info_tree_0; ^ Mercury/javas/jmercury/bug6.java:44: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) bug6.bug6__type_ctor_info_tree_0; ^ Mercury/javas/jmercury/bug6.java:49: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug6 Mercury/javas/jmercury/bug6.java:57: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug6 Mercury/javas/jmercury/bug6.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug6.java:67: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug6 Mercury/javas/jmercury/bug6.java:85: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug6.java:90: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug6.java:93: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug6.java:116: error: package list does not exist list.List_1 Fs_4 = null; ^ Mercury/javas/jmercury/bug6.java:117: error: package list does not exist list.List_1 Fs0_3 = null; ^ Mercury/javas/jmercury/bug6.java:118: error: package list does not exist list.List_1 Var_5 = null; ^ Mercury/javas/jmercury/bug6.java:119: error: package list does not exist list.List_1 next_value_of_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug6.java:124: error: package list does not exist Var_5 = ((list.List_1) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/bug6.java:124: error: package list.List_1 does not exist Var_5 = ((list.List_1) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/bug6.java:125: error: package list.List_1 does not exist Fs0_3 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/bug6.java:149: error: package list does not exist list.List_1 D_6 = null; ^ Mercury/javas/jmercury/bug6.java:155: error: package list does not exist D_6 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/bug6.java:159: error: package list does not exist list.List_1 next_value_of_D0_4 = D_6; ^ Mercury/javas/jmercury/bug6.java:177: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug6.java:184: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug6.java:193: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/bug6.java:198: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/bug6.java:213: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug6.java:216: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug6.java:218: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug6.java:229: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug6.java:332: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 49 errors ** Error making `Mercury/classes/jmercury/bug6.class'. gmake[3]: *** [/tmp/mmake.vPKt0D:1516: bug6.class] Error 1 gmake[3]: Target 'bug6.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-10-25/tests/valid'