MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - modes_bug.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - modes_bug.class Making Mercury/int3s/modes_bug.int3 Making Mercury/ints/modes_bug.int Making Mercury/javas/jmercury/modes_bug.java Making Mercury/classes/jmercury/modes_bug.class Mercury/javas/jmercury/modes_bug.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] modes_bug__field_types_bar_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/modes_bug.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc modes_bug__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/modes_bug.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc modes_bug__du_functor_desc_bar_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/modes_bug.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] modes_bug__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/modes_bug.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] modes_bug__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/modes_bug.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] modes_bug__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/modes_bug.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct modes_bug__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/modes_bug.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] modes_bug__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/modes_bug.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc modes_bug__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/modes_bug.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] modes_bug__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/modes_bug.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] modes_bug__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/modes_bug.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] modes_bug__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/modes_bug.java:29: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct modes_bug__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/modes_bug.java:482: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/modes_bug.java:446: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/modes_bug.java:207: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/modes_bug.java:256: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/modes_bug.java:386: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/modes_bug.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] modes_bug__field_types_bar_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/modes_bug.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc modes_bug__du_functor_desc_bar_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/modes_bug.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc modes_bug__du_functor_desc_bar_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/modes_bug.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] modes_bug__du_stag_ordered_bar_0_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/modes_bug.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] modes_bug__du_ptag_ordered_bar_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/modes_bug.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] modes_bug__du_name_ordered_bar_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/modes_bug.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct modes_bug__type_ctor_info_bar_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/modes_bug.java:23: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] modes_bug__field_types_foo_0_0 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/modes_bug.java:24: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc modes_bug__du_functor_desc_foo_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/modes_bug.java:25: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] modes_bug__du_stag_ordered_foo_0_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/modes_bug.java:26: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] modes_bug__du_ptag_ordered_foo_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/modes_bug.java:27: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] modes_bug__du_name_ordered_foo_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/modes_bug.java:29: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct modes_bug__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/modes_bug.java:34: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) modes_bug.modes_bug__type_ctor_info_foo_0; ^ Mercury/javas/jmercury/modes_bug.java:39: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class modes_bug Mercury/javas/jmercury/modes_bug.java:47: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class modes_bug Mercury/javas/jmercury/modes_bug.java:54: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class modes_bug Mercury/javas/jmercury/modes_bug.java:62: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class modes_bug Mercury/javas/jmercury/modes_bug.java:70: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/modes_bug.java:72: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class modes_bug Mercury/javas/jmercury/modes_bug.java:90: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/modes_bug.java:95: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/modes_bug.java:98: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/modes_bug.java:107: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/modes_bug.java:107: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class modes_bug Mercury/javas/jmercury/modes_bug.java:112: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class modes_bug Mercury/javas/jmercury/modes_bug.java:120: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class modes_bug Mercury/javas/jmercury/modes_bug.java:126: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/modes_bug.java:128: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class modes_bug Mercury/javas/jmercury/modes_bug.java:142: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/modes_bug.java:147: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/modes_bug.java:150: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/modes_bug.java:213: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/modes_bug.java:219: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/modes_bug.java:232: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/modes_bug.java:235: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/modes_bug.java:237: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/modes_bug.java:247: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/modes_bug.java:262: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/modes_bug.java:268: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/modes_bug.java:276: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/modes_bug.java:281: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/modes_bug.java:283: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/modes_bug.java:295: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/modes_bug.java:433: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 63 errors ** Error making `Mercury/classes/jmercury/modes_bug.class'. make[3]: *** [/tmp/mmake.Io8P4s:1500: modes_bug.class] Error 1 make[3]: Target 'modes_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid'